This repository was archived by the owner on Mar 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-54
lines changed
Expand file tree Collapse file tree 1 file changed +3
-54
lines changed Original file line number Diff line number Diff line change 1- ---
2- name : ' Check'
31
4- on : pull_request
5-
6- jobs :
7- queue :
8- runs-on : ubuntu-latest
9- steps :
10- - id : skip
11- uses : fkirc/skip-duplicate-actions@master
12- with :
13- concurrent_skipping : ' outdated_runs'
14- cancel_others : true
15- skip_after_successful_duplicate : true
162 do_not_skip : ' ["workflow_dispatch", "schedule"]'
173 lint :
184 needs : queue
2612 js:
2713 - '**/*.js'
2814 - '**/*.ts'
29- - '**/*.d.ts'
30- - '**/*.json'
31- md:
32- - '**/*.md'
33- scss:
34- - '**/*.scss'
35-
36- - name : Cloning repository
37- uses : actions/checkout@v3
38-
39- - name : Setting up Node.js
40- uses : actions/setup-node@v3
41- with :
42- cache : npm
43- node-version : 16
44-
45- - name : Installing Node.js packages
46- run : npm ci
47-
48- - name : Linting JavaScript
49- if : ${{ steps.changes.outputs.js == 'true' }}
15+
5016 run : |
5117 npm run lint:js
5218 npm run lint:types
@@ -105,13 +71,7 @@ jobs:
10571 node-version : 16
10672
10773 - name : Installing Node.js packages
108- run : npm ci
109-
110- - name : Building site
111- env :
112- # Increase memory limit as a full build requires around 8GB
113- NODE_OPTIONS : --max_old_space_size=8192
114- ELEVENTY_INCLUDE_TRANSLATED : true
74+ run :
11575 run : |
11676 npm run production
11777
@@ -213,15 +173,4 @@ jobs:
213173 if : ${{ steps.changes.outputs.frontend == 'true' }}
214174 uses : actions/download-artifact@v3
215175 with :
216- name : dist-${{ github.run_id }}
217-
218- - name : Unpacking built files
219- if : ${{ steps.changes.outputs.frontend == 'true' }}
220- run : |
221- tar xf dist.tar.gz
222-
223- - name : Percy
224- if : ${{ steps.changes.outputs.frontend == 'true' }}
225- env :
226- PERCY_TOKEN : ${{ secrets.PERCY_TOKEN }}
227- run : npm run snapshots
176+ name : dis
You can’t perform that action at this time.
0 commit comments