File tree Expand file tree Collapse file tree 3 files changed +38
-67
lines changed Expand file tree Collapse file tree 3 files changed +38
-67
lines changed Original file line number Diff line number Diff line change 1+ name : Lint and Test
2+
3+ on :
4+ push :
5+ workflow_dispatch :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ # https://github.com/actions/checkout
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ # https://github.com/actions/setup-node
17+ - name : Use Node.js 14
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 14'
21+
22+ - name : Clean install NPM packages from package-lock.json
23+ run : npm ci
24+
25+ - name : Lint
26+ run : npm run lint
27+
28+ - name : Test
29+ run : npm run test:unit
30+ env :
31+ CI : true
32+
33+ # https://github.com/cypress-io/github-action
34+ - name : Cypress run
35+ uses : cypress-io/github-action@v6
36+ with :
37+ start : npm run serve
38+ wait-on : ' http://localhost:8080'
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments