File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' **'
7+ tags :
8+ - ' !**'
79 pull_request :
810 branches :
911 - main
Original file line number Diff line number Diff line change 1111jobs :
1212 build :
1313 runs-on : ubuntu-latest
14- strategy :
15- matrix :
16- node : [22]
1714 steps :
1815 - uses : actions/checkout@v4
1916
20- - name : Setup Node.js ${{ matrix.node }}
17+ - name : Setup Node.js
2118 uses : actions/setup-node@v4
2219 with :
23- node-version : ${{ matrix .node }}
20+ node-version-file : ' .node-version '
2421
2522 - name : Install dependencies
2623 run : |
5148 publish :
5249 env :
5350 CHECK_NPM_TOKEN : ${{ secrets.NPM_TOKEN != '' }}
54- strategy :
55- matrix :
56- node : [22]
5751 needs : build
5852 runs-on : ubuntu-latest
5953 permissions :
7064 - name : Set npm registry url
7165 uses : actions/setup-node@v4
7266 with :
73- node-version : ${{ matrix .node }}
67+ node-version-file : ' .node-version '
7468 registry-url : ' https://registry.npmjs.org'
7569
7670 - name : Dry run publish
8175 env :
8276 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
8377 run : npm publish . --provenance --access public
78+
79+ - name : Clean up
80+ uses : geekyeggo/delete-artifact@v5
81+ with :
82+ name : dist
You can’t perform that action at this time.
0 commit comments