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 c9a66c9 commit dde9cc1Copy full SHA for dde9cc1
1 file changed
.github/workflows/release.yml
@@ -6,6 +6,10 @@ on:
6
7
name: Create Release
8
9
+permissions:
10
+ id-token: write # Required for OIDC
11
+ contents: read
12
+
13
jobs:
14
build:
15
@@ -22,10 +26,7 @@ jobs:
22
26
- run: npm run build
23
27
- name: Publish to NPM
24
28
run: |
25
- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
29
npm publish --ignore-scripts --access public
- env:
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30
- name: Create artifact
31
32
mkdir ${{ env.RELEASE_VERSION }}-dist && cp dist/farmOS-map* ${{ env.RELEASE_VERSION }}-dist && zip -r ${{ env.RELEASE_VERSION }}-dist.zip ${{ env.RELEASE_VERSION }}-dist
0 commit comments