55 schedule :
66 - cron : " 3 4 * * 5"
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
812permissions :
913 contents : read
1014
@@ -13,41 +17,44 @@ jobs:
1317 runs-on : ubuntu-latest
1418 steps :
1519 - name : Checkout repository
16- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1721 with :
1822 persist-credentials : false
1923
2024 - name : Setup Node.js
21- uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
25+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
2226 with :
23- node-version : 24
27+ node-version : 26
2428
2529 - name : Install dependencies
2630 run : npm ci
2731
2832 - name : Lint files
33+ continue-on-error : true
2934 run : npm run lint -- --formatter github
3035
3136 - name : npm pack (publish) dry run
37+ continue-on-error : true
3238 run : npm pack --dry-run
3339
3440 - name : JSR publish dry run
41+ continue-on-error : true
3542 run : npx jsr publish --dry-run
3643
3744 test-node :
3845 runs-on : ${{ matrix.os }}
3946 strategy :
4047 matrix :
4148 os : [ubuntu-latest, macos-latest, windows-latest]
42- node-version : [22, 24, latest]
49+ node-version : [22, 24, 26, latest]
4350 steps :
4451 - name : Checkout repository
45- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4653 with :
4754 persist-credentials : false
4855
4956 - name : Setup Node.js ${{ matrix.node-version }}
50- uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
57+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
5158 with :
5259 node-version : ${{ matrix.node-version }}
5360
@@ -64,15 +71,15 @@ jobs:
6471 os : [ubuntu-latest, macos-latest, windows-latest]
6572 steps :
6673 - name : Checkout repository
67- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
74+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6875 with :
6976 persist-credentials : false
7077
7178 - name : Setup Bun
7279 uses : oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
7380
7481 - name : Install dependencies
75- run : bun ci
82+ run : bun install
7683
7784 - name : Run unit tests on Bun
7885 run : npm run test:unit:bun
@@ -101,14 +108,14 @@ jobs:
101108 runs-on : ubuntu-latest
102109 steps :
103110 - name : Checkout repository
104- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
111+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
105112 with :
106113 persist-credentials : false
107114
108115 - name : Setup Node.js
109- uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
116+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
110117 with :
111- node-version : 24
118+ node-version : 26
112119
113120 - name : Install dependencies
114121 run : npm ci
@@ -126,19 +133,20 @@ jobs:
126133 security-events : write
127134 steps :
128135 - name : Checkout repository
129- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
136+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
130137 with :
131138 persist-credentials : false
132139
133140 - name : Initialize CodeQL
134- uses : github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
141+ uses : github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
135142 with :
136143 languages : javascript
137144
138145 - name : Perform CodeQL Analysis
139- uses : github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
146+ uses : github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
140147
141148 - name : Run Snyk to check for vulnerabilities
149+ # Ne pas exécuter Snyk sur les forks, car ils n'ont pas accès au jeton.
142150 if : ${{ 'Actions' == github.secret_source }}
143151 uses : snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # v1.0.0
144152 continue-on-error : true
0 commit comments