77 branches : [main]
88 workflow_dispatch :
99
10- env :
11- NODE_VERSION : 22.x
12-
1310permissions :
1411 actions : read
1512 contents : read
@@ -29,10 +26,10 @@ jobs:
2926 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3027
3128 - name : Setup Node.js
32- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
29+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
3330 with :
3431 cache : ' npm'
35- node-version : ${{ env.NODE_VERSION }}
32+ node-version-file : ' .nvmrc '
3633 registry-url : ' https://npm.pkg.github.com'
3734 scope : ' @deepnote'
3835
@@ -56,10 +53,10 @@ jobs:
5653 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5754
5855 - name : Setup Node.js
59- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
56+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
6057 with :
6158 cache : ' npm'
62- node-version : ${{ env.NODE_VERSION }}
59+ node-version-file : ' .nvmrc '
6360 registry-url : ' https://npm.pkg.github.com'
6461 scope : ' @deepnote'
6562
@@ -78,10 +75,12 @@ jobs:
7875
7976 steps :
8077 - name : Checkout code
81- uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
78+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
79+ with :
80+ fetch-depth : 0
8281
8382 - name : Install qlty
84- uses : qltysh/qlty-action/install@a19242102d17e497f437d7466aa01b528537e899
83+ uses : qltysh/qlty-action/install@92420f3093ba65970fed22ce5f162ecb8a5c1700
8584
8685 - name : Run qlty check
8786 run : qlty check
@@ -102,10 +101,10 @@ jobs:
102101 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
103102
104103 - name : Setup Node.js
105- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
104+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
106105 with :
107106 cache : ' npm'
108- node-version : ${{ env.NODE_VERSION }}
107+ node-version-file : ' .nvmrc '
109108 registry-url : ' https://npm.pkg.github.com'
110109 scope : ' @deepnote'
111110
@@ -152,10 +151,10 @@ jobs:
152151 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
153152
154153 - name : Setup Node.js
155- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
154+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
156155 with :
157156 cache : ' npm'
158- node-version : ${{ env.NODE_VERSION }}
157+ node-version-file : ' .nvmrc '
159158 registry-url : ' https://npm.pkg.github.com'
160159 scope : ' @deepnote'
161160
@@ -167,6 +166,30 @@ jobs:
167166 - name : Check Licenses
168167 run : npm run check-licenses
169168
169+ spell-check :
170+ name : Spell Check
171+ runs-on : ubuntu-latest
172+ timeout-minutes : 15
173+ steps :
174+ - name : Checkout
175+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
176+
177+ - name : Setup Node.js
178+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
179+ with :
180+ cache : ' npm'
181+ node-version-file : ' .nvmrc'
182+ registry-url : ' https://npm.pkg.github.com'
183+ scope : ' @deepnote'
184+
185+ - name : Install dependencies
186+ run : npm ci --prefer-offline --no-audit
187+ env :
188+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
189+
190+ - name : Run spell check
191+ run : npm run spell-check
192+
170193 audit-prod :
171194 name : Audit - Production
172195 runs-on : ubuntu-latest
@@ -176,10 +199,10 @@ jobs:
176199 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
177200
178201 - name : Setup Node.js
179- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
202+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
180203 with :
181204 cache : ' npm'
182- node-version : ${{ env.NODE_VERSION }}
205+ node-version-file : ' .nvmrc '
183206 registry-url : ' https://npm.pkg.github.com'
184207 scope : ' @deepnote'
185208
@@ -200,10 +223,10 @@ jobs:
200223 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
201224
202225 - name : Setup Node.js
203- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
226+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
204227 with :
205228 cache : ' npm'
206- node-version : ${{ env.NODE_VERSION }}
229+ node-version-file : ' .nvmrc '
207230 registry-url : ' https://npm.pkg.github.com'
208231 scope : ' @deepnote'
209232
0 commit comments