-
-
Notifications
You must be signed in to change notification settings - Fork 433
38 lines (29 loc) · 825 Bytes
/
release.yml
File metadata and controls
38 lines (29 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
on:
release:
types: [published]
name: release
# Permission to generate an OIDC token for trusted publishing to npm
permissions:
id-token: write
contents: read
jobs:
build_test_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: install node
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org/
- name: install
run: yarn install
- name: build
run: yarn build
# - name: test
# run: yarn execution-tests
- run: npm install -g npm@latest
- run: npm publish
env:
NPM_CONFIG_PROVENANCE: true
# NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} no longer needed with trusted publishing and OIDC token generation