File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 11
11
- main
12
12
13
13
jobs :
14
- test :
15
- # The type of runner that the job will run on
16
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
17
- runs-on : ubuntu-latest
18
-
19
- strategy :
20
- matrix :
21
- node-version : [16.x]
22
-
23
- # Steps represent a sequence of tasks that will be executed as part of the job
24
- steps :
25
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
- - uses : actions/checkout@v2
27
- - name : Use Node.js ${{ matrix.node-version }}
28
- uses : actions/setup-node@v2
29
- with :
30
- node-version : ${{ matrix.node-version }}
31
- cache : ' npm'
32
- - run : npm install
33
- - run : npm run lint
34
- - run : sudo npx playwright install-deps
35
- - run : npm run test
36
- - run : npm run build:prod
37
-
38
14
build_and_deploy_job :
39
15
needs : test
40
16
if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
You can’t perform that action at this time.
0 commit comments