Skip to content

Commit

Permalink
feat: Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns committed Jan 26, 2025
1 parent 4f1c3f8 commit 83e7f61
Show file tree
Hide file tree
Showing 9 changed files with 359 additions and 441 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
pull_request: {}
workflow_dispatch: {}

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-and-release:
runs-on: ubuntu-latest
Expand All @@ -21,11 +17,24 @@ jobs:
matrix:
node-version: [ 22.x ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.node-version }}
cancel-in-progress: true

permissions:
# Necessary for semantic-release
contents: write
issues: write
pull-requests: write
# Necessary for npm publish --provenance
# See https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
id-token: write

steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # pin@main
- name: ⎔ Setup node
uses: actions/setup-node@8f9cc178b6e843639351e0bd5d638e5fd0a8dec7 # pin@main
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # pin@main
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand All @@ -49,6 +58,5 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

run: |
npm run release
Loading

0 comments on commit 83e7f61

Please sign in to comment.