File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+ # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3+
4+ name : Build package
5+
6+ on : push
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version : 18
16+ node-version : 20
17+ node-version : 23
18+ - run : npm ci
19+ - run : npm test
Original file line number Diff line number Diff line change 11# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
22# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
33
4- name : Node.js Package
4+ name : Test & publish package
55
66on : push
77
You can’t perform that action at this time.
0 commit comments