Skip to content

Commit f8f15f4

Browse files
committed
Update release workflow
1 parent 6d2ca02 commit f8f15f4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: PhysX-JS-WebIDL - Release Library
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- 'v*'
@@ -13,10 +14,6 @@ jobs:
1314
build:
1415
name: Build PhysX-JS-WebIDL
1516
runs-on: ubuntu-latest
16-
environment: publish
17-
permissions:
18-
contents: write
19-
id-token: write
2017

2118
steps:
2219
- name: Checkout Repository
@@ -47,9 +44,14 @@ jobs:
4744
- name: Setup node
4845
uses: actions/setup-node@v4
4946
with:
50-
node-version: '20.x'
47+
node-version: '20'
5148
registry-url: 'https://registry.npmjs.org'
52-
49+
50+
- name: Update npm
51+
run: npm install -g npm@latest
52+
- name: Run npm ci
53+
working-directory: ./dist
54+
run: npm ci
5355
- name: Publish to npmjs
5456
working-directory: ./dist
5557
run: npm publish

0 commit comments

Comments
 (0)