Skip to content

Commit

Permalink
chore: release initial version (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckasnix authored Oct 1, 2024
1 parent 29c440a commit f17ff4c
Show file tree
Hide file tree
Showing 6 changed files with 12,153 additions and 3,070 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ on:
workflow_dispatch:

jobs:
test:
name: Test
strategy:
matrix:
node-version: [20, 22]
standard:
name: Standard
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Check types
Expand All @@ -31,3 +30,9 @@ jobs:
run: npm run lint:check
- name: Test
run: npm run test
- name: Publish package
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.16.0
18 changes: 18 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"branches": [
{
"name": "main"
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm"
]
}
Loading

0 comments on commit f17ff4c

Please sign in to comment.