Skip to content

Commit

Permalink
Merge pull request #9 from Dafnik/chore/remove-node
Browse files Browse the repository at this point in the history
chore: remove node
  • Loading branch information
Dafnik authored Jul 8, 2024
2 parents 5dd1150 + 363f880 commit 1a76471
Show file tree
Hide file tree
Showing 12 changed files with 82 additions and 1,065 deletions.
4 changes: 3 additions & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

## Supported Versions

<!-- prettier-ignore-start -->
| Version | Supported |
| ------- | ------------------ |
|---------|--------------------|
| 1.x.x | :white_check_mark: |
<!-- prettier-ignore-end -->

## Reporting a Vulnerability

Expand Down
4 changes: 4 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
enhancement: ['feature/*']
bug: 'fix/*'
chore: ['chore/*']
documentation: ['docs/*']
22 changes: 10 additions & 12 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,29 @@ template: |
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '📖 Docs'
labels:
- 'docs'
- title: '🧰 Maintenance'
labels:
- 'infrastructure'
- 'automation'
- 'documentation'
- title: '🏎 Performance'
label: 'performance'
- 'chore'
- 'dependencies'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'type: breaking'
- 'breaking'
minor:
labels:
- 'type: enhancement'
- 'enhancement'
patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: documentation'
- 'bug'
- 'chore'
- 'dependencies'
default: patch
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: dev ci

on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
prettier:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run Prettier
id: prettier-run
uses: rutajdash/[email protected]
with:
config_path: ./.prettierrc.yml

- name: Prettier Output
if: ${{ failure() }}
shell: bash
run: |
echo "The following files are not formatted:"
echo "${{steps.prettier-run.outputs.prettier_output}}"
commitlint:
name: Commitlint Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: dafnik/commitlint@v1
18 changes: 18 additions & 0 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR Labeler
on:
pull_request:
types: [opened]

permissions:
contents: read

jobs:
pr-labeler:
permissions:
contents: read # for TimonVS/pr-labeler-action to read config file
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
48 changes: 0 additions & 48 deletions .github/workflows/test.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/node_modules
/.idea
/.idea/**
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions package.json

This file was deleted.

Loading

0 comments on commit 1a76471

Please sign in to comment.