File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,12 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ "main" ]
8+ branches : ["main"]
99 pull_request :
10- branches : [ "main" ]
10+ branches : ["main"]
1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
1615
1716 strategy :
@@ -20,12 +19,12 @@ jobs:
2019 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120
2221 steps :
23- - uses : actions/checkout@v4
24- - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v4
26- with :
27- node-version : ${{ matrix.node-version }}
28- cache : ' npm'
29- - run : npm ci
30- - run : npm run build
31- - run : npm test
22+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+ - name : Use Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+ cache : " npm"
28+ - run : npm ci
29+ - run : npm run build
30+ - run : npm test
Original file line number Diff line number Diff line change 1515 publish-npm :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v4
19- - uses : actions/setup-node@v4
18+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
19+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2020 with :
2121 node-version : 24
2222 registry-url : https://registry.npmjs.org/
You can’t perform that action at this time.
0 commit comments