File tree Expand file tree Collapse file tree 2 files changed +37
-5
lines changed
Expand file tree Collapse file tree 2 files changed +37
-5
lines changed Original file line number Diff line number Diff line change 11name : check
2- on : [push]
2+ on :
3+ push :
4+ tags-ignore :
5+ - ' [0-9]+.[0-9]+.[0-9]+'
6+ branches :
7+ - ' **'
8+
39jobs :
410 build :
511 runs-on : ubuntu-latest
612 steps :
7- - uses : actions/checkout@v4
8- - uses : actions/setup-node@v4
13+ - uses : actions/checkout@v5
14+ - uses : actions/setup-node@v6
915 with :
10- node-version : ' lts/*'
11- - run : yarn install
16+ node-version : lts/*
17+ - run : npm install
1218 - run : make check
Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ push :
5+ tags :
6+ - ' [0-9]+.[0-9]+.[0-9]+'
7+
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : read
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v5
17+ - uses : actions/setup-node@v6
18+ with :
19+ node-version : ' lts/*'
20+
21+ # Ensure npm 11.5.1 or later is installed
22+ - name : update npm
23+ run : npm install -g npm@latest
24+ - run : npm install
25+ - run : make check
26+ - run : npm publish
You can’t perform that action at this time.
0 commit comments