We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24aa41 commit 201dc99Copy full SHA for 201dc99
.github/workflows/main.yml
@@ -1,6 +1,10 @@
1
name: QWC2 Build
2
on: [push]
3
4
+permissions:
5
+ id-token: write # Required for OIDC
6
+ contents: write
7
+
8
jobs:
9
build:
10
runs-on: ubuntu-latest
@@ -97,9 +101,8 @@ jobs:
97
101
- name: Publish to NPM
98
102
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
99
103
run: |
104
+ npm install -g npm@latest
100
105
npm run dist
106
pushd dist
107
npm publish
108
popd
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments