File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Package
2+ permissions :
3+ id-token : write
4+ on :
5+ push :
6+ tags :
7+ - ' *'
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v5
13+ - uses : actions/setup-node@v6
14+ with :
15+ node-version : ' 24.x'
16+ registry-url : ' https://registry.npmjs.org'
17+ - run : npm version from-git --git-tag-version=false
18+ - run : npm ci
19+ - run : npm run build
20+ - run : npm publish --tag latest
Original file line number Diff line number Diff line change 1+ name : Run Tests
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ pull_request :
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v5
12+ - uses : actions/setup-node@v6
13+ with :
14+ node-version : ' 24.x'
15+ registry-url : ' https://registry.npmjs.org'
16+ - run : npm ci
17+ - run : npm run build
18+ - run : npm run test
Original file line number Diff line number Diff line change 1+ nodejs 24.13.0
You can’t perform that action at this time.
0 commit comments