Skip to content

Commit 3734dc5

Browse files
authored
fix: release automation (#328)
1 parent c765696 commit 3734dc5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
types: published
55

66
jobs:
7-
build:
7+
release:
88
runs-on: ubuntu-latest
99
permissions:
1010
contents: read
@@ -16,6 +16,7 @@ jobs:
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: "20.x"
19+
registry-url: "https://registry.npmjs.org"
1920
- name: "Install dependencies"
2021
run: npm install --no-save
2122
- name: "Run eslint - linting"
@@ -24,6 +25,7 @@ jobs:
2425
run: npm run check
2526
- name: "Run unit tests"
2627
run: npm test
28+
- run: npm ci
2729
- run: npm publish
2830
env:
2931
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)