From 92f26a486b742363c9223f2568a3d8984158d1af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LeoYuan=20=E8=A2=81=E5=8A=9B=E7=9A=93?= Date: Thu, 17 Feb 2022 16:20:04 +0800 Subject: [PATCH] chore: up --- .github/workflows/test.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d15ec2857..2ae628f4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,24 +3,21 @@ name: lint & test on: [push, pull_request] jobs: - setup: - runs-on: ubuntu-latest - steps: - - name: checkout - uses: actions/checkout@v2 - - - name: install - run: npm i && npm run setup:skip-build - lint: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: install + run: npm i && npm run setup:skip-build + - name: lint run: npm run lint - needs: setup test-designer: runs-on: ubuntu-latest @@ -28,6 +25,12 @@ jobs: - name: checkout uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: install + run: npm i && npm run setup:skip-build + - name: lint - run: cd packages/designer && npm test - needs: setup \ No newline at end of file + run: cd packages/designer && npm test \ No newline at end of file