File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed
Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,12 @@ name: Release NPM Package
22
33on :
44 push :
5- branches :
6- - master
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : read
711
812jobs :
913 release :
@@ -16,14 +20,25 @@ jobs:
1620 - name : Install Node.js
1721 uses : actions/setup-node@v4
1822 with :
19- node-version : 20
23+ node-version : 24
2024 registry-url : " https://registry.npmjs.org"
2125
26+ - name : Install latest npm
27+ run : npm install -g npm@latest
28+
2229 - name : Install dependencies
2330 run : npm install
2431
25- - name : Install latest npm
26- run : npm install -g npm@latest
32+ - name : Run Lint and Test
33+ run : |
34+ set -e
35+ npm run lint
36+ npm run test
37+
38+ - name : Integration Tests
39+ run : |
40+ npm link
41+ sleep 5; SLS_DEBUG=1 npm run test:integration
2742
2843 - name : Publish to npm
2944 env :
You can’t perform that action at this time.
0 commit comments