File tree Expand file tree Collapse file tree 2 files changed +10
-28
lines changed
Expand file tree Collapse file tree 2 files changed +10
-28
lines changed Original file line number Diff line number Diff line change @@ -3,31 +3,16 @@ name: CI
33on : [push, pull_request]
44
55jobs :
6- build_and_lint :
6+ build :
77 runs-on : ubuntu-latest
88 steps :
9- - name : Checkout the repository
10- uses : actions/checkout@v3
9+ - uses : actions/checkout@v4
10+ - uses : ./.github/workflows/setup
11+ - run : npm run build
1112
12- - name : Setup Node.js
13- uses : actions/setup-node@v3
14- with :
15- node-version : lts/*
16- cache : yarn
17-
18- - name : Retrieve the cached "node_modules" directory (if present)
19- uses : actions/cache@v3
20- id : node-cache
21- with :
22- path : node_modules
23- key : node-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
24-
25- - name : Install dependencies (if the cached directory was not found)
26- if : steps.node-cache.outputs.cache-hit != 'true'
27- run : yarn install --frozen-lockfile
28-
29- - name : Test to see if the project compiles
30- run : bash build.sh
31-
32- - name : Perform automated checks
33- run : bash lint.sh
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : ./.github/workflows/setup
18+ - run : npm run lint
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments