Skip to content

Commit e407f66

Browse files
committed
chore: make workflow publish prereleases
1 parent 67bf38e commit e407f66

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/pre-release.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@ jobs:
2525
generate_release_notes: true
2626

2727
# Enable in future to automate publishing of NPM package
28-
# release-js:
29-
# runs-on: ubuntu-latest
30-
# steps:
31-
# - uses: actions/checkout@v4
32-
33-
# - uses: actions/setup-node@v4
34-
# with:
35-
# node-version: "18"
36-
# registry-url: 'https://registry.npmjs.org'
37-
# cache: "npm"
38-
39-
# - name: Install node modules
40-
# run: npm ci
41-
42-
# - name: Build JS Interface
43-
# run: cd src/js && npm run build
44-
45-
# - name: Publish to NPM
46-
# env:
47-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
48-
# run: cd src/js && npm publish --tag next
28+
release-js:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- uses: actions/setup-node@v4
34+
with:
35+
node-version: "18"
36+
registry-url: 'https://registry.npmjs.org'
37+
cache: "npm"
38+
39+
- name: Install node modules
40+
run: npm ci
41+
42+
- name: Build JS Interface
43+
run: cd src/js && npm run build
44+
45+
- name: Publish to NPM
46+
env:
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
48+
run: cd src/js && npm publish --tag next

0 commit comments

Comments
 (0)