Skip to content

Commit 312f8ff

Browse files
DutchBenRuben van Leeuwen
andauthored
2205 npm trusted publisher (#217)
* Adds changeset * Align tag with version * 2205: try publishing manually * Update npm version to 0.9.5 * Delete frontend/.changeset/lazy-worms-smile.md --------- Co-authored-by: Ruben van Leeuwen <[email protected]>
1 parent ac3e52f commit 312f8ff

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Manually Publish to NPM
2+
on:
3+
workflow_dispatch:
4+
5+
concurrency: ${{ github.workflow }}-${{ github.ref }}
6+
7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: write
10+
pull-requests: write
11+
packages: write
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: "22"
22+
registry-url: "https://registry.npmjs.org"
23+
24+
- name: Installing dependencies
25+
run: cd frontend && npm ci && pwd
26+
- name: Update npm
27+
run: npm install -g npm@latest
28+
- run: cd frontend && npm run build
29+
- run: cd frontend && npm test
30+
- run: cd frontend && npm publish

0 commit comments

Comments
 (0)