Skip to content

Commit 20c3cc2

Browse files
committed
Update main workflow
1 parent a4cc742 commit 20c3cc2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v1
24+
- uses: actions/setup-node@v2
25+
with:
26+
node-version: 16
27+
cache: 'yarn'
2428
- name: Install dependencies
2529
run: yarn install
2630
- name: Run lint
@@ -42,6 +46,10 @@ jobs:
4246
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
4347
steps:
4448
- uses: actions/checkout@v1
49+
- uses: actions/setup-node@v2
50+
with:
51+
node-version: 16
52+
cache: 'yarn'
4553
- name: Install dependencies
4654
run: yarn install
4755
- name: Verify MariaDB connection

0 commit comments

Comments
 (0)