Skip to content

Commit

Permalink
fix: release automation (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq authored Nov 19, 2024
1 parent c765696 commit 3734dc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: published

jobs:
build:
release:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -16,6 +16,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: "Install dependencies"
run: npm install --no-save
- name: "Run eslint - linting"
Expand All @@ -24,6 +25,7 @@ jobs:
run: npm run check
- name: "Run unit tests"
run: npm test
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 3734dc5

Please sign in to comment.