File tree Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - stable
77
8+ permissions :
9+ contents : read
10+ id-token : write
11+
812jobs :
913 build :
1014 name : Build, Test, and Deploy
1115 runs-on : ubuntu-latest
1216 steps :
13- - uses : actions/checkout@v4
17+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1418 with :
1519 fetch-depth : 0
16- - uses : actions/setup-node@v4
20+ - uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
1721 with :
18- node-version : 18
19- - name : Configure Identity
22+ node-version : 20
23+ registry-url : ' https://registry.npmjs.org'
24+ - name : 🔒 Configure Identity
2025 run : |
2126 git config user.name github-actions
2227 git config user.email [email protected] 23- - name : Prepare NPM Token
24- run : echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
28+ - name : 🟢 Ensure Latest npm
29+ run : npm install -g npm@latest
2530 shell : bash
26- env :
27- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
28- - name : Install Dependencies
31+ - name : 📦 Install Dependencies
2932 run : npm ci --no-package-lock
3033 shell : bash
31- - name : Bootstrap
34+ - name : 🔄 Bootstrap
3235 run : npm run bootstrap -- --ignore-scripts
3336 shell : bash
34- - name : Release
37+ - name : 🚀 Release
3538 run : npm run publish:ci
3639 shell : bash
3740 env :
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build-and-test :
13- name : Build and Test (Node ${{ matrix.node }})
13+ name : 🏗️ Build and Test (Node ${{ matrix.node }})
1414 runs-on : ubuntu-latest
1515 timeout-minutes : 30
1616 strategy :
1717 matrix :
1818 node :
19- - 18 .x
19+ - 20 .x
2020 steps :
21- - uses : actions/setup-node@v4
21+ - uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2222 with :
2323 node-version : ${{ matrix.node }}
24- - uses : actions/checkout@v4
25- - name : Restore Dependency Cache
24+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+ - name : 🔄 Restore Dependency Cache
2626 uses : actions/cache@v4
2727 with :
2828 path : ~/.npm
You can’t perform that action at this time.
0 commit comments