File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v2
12
- with :
13
- fetch-depth : 0
14
- ref : main
15
12
- uses : actions/setup-node@v2
16
13
with :
17
- node-version : ' 14'
18
- - run : |
19
- if [ -f "yarn.lock" ]; then
20
- yarn install
21
- else
22
- npm install
23
- fi
24
- - run : |
25
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
26
- git config --global user.name "github-actions[bot]"
27
- - run : yarn test
28
- - run : yarn lint
29
- env :
30
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
- SLACK_INCOMING_HOOK : ${{ secrets.SLACK_INCOMING_HOOK }}
14
+ node-version : ' 16'
15
+ - name : Install dependencies
16
+ working-directory : ./
17
+ run : yarn install --frozen-lockfile
18
+ - name : Run tests
19
+ run : yarn test
20
+ - name : Run lint
21
+ run : yarn lint
22
+
You can’t perform that action at this time.
0 commit comments