File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 uses : actions/setup-node@v3
1717 with :
1818 node-version : ' 18.x'
19- # Don't use yarn cache since we might not have a yarn.lock
20- cache : ' npm'
2119 - name : Install dependencies
22- run : npm ci || npm install
20+ run : npm install
2321 - name : Run ESLint
2422 run : npm run lint
2523
3230 uses : actions/setup-node@v3
3331 with :
3432 node-version : ' 18.x'
35- cache : ' npm'
3633 - name : Install dependencies
37- run : npm ci || npm install
34+ run : npm install
3835 - name : Type check
3936 run : npx tsc --noEmit
4037
4744 uses : actions/setup-node@v3
4845 with :
4946 node-version : ' 18.x'
50- cache : ' npm'
5147 - name : Install dependencies
52- run : npm ci || npm install
48+ run : npm install
5349 - name : Run tests
5450 run : npm test
5551 - name : Upload coverage
6662 uses : actions/setup-node@v3
6763 with :
6864 node-version : ' 18.x'
69- cache : ' npm'
7065 - name : Install dependencies
71- run : npm ci || npm install
66+ run : npm install
7267 - name : Build
7368 run : npm run build
7469
8176 uses : actions/setup-node@v3
8277 with :
8378 node-version : ' 18.x'
84- cache : ' npm'
8579 - name : Install dependencies
86- run : npm ci || npm install
80+ run : npm install
8781
8882 # Load secrets from GitHub Actions secrets to environment variables
8983 - name : Set up environment variables
You can’t perform that action at this time.
0 commit comments