Skip to content

Commit

Permalink
ci: handle node version correct (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefiozie committed Dec 12, 2020
1 parent 151075f commit 8b728f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr_on_development.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [13, 14]
node: [13, 14]
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [13, 14]
node: [13, 14]
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [13, 14]
node: [13, 14]
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand All @@ -96,7 +96,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.node }}-xlayers-workspace-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-xlayers-workspace-
- name: Run lint
- name: Run test
run: npm run affected:test -- --base=origin/main --head=HEAD --parallel --with-deps
e2e:
env:
Expand All @@ -108,7 +108,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [13, 14]
node: [13, 14]
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand All @@ -134,7 +134,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [13, 14]
node: [13, 14]
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_to_main.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
node: [13, 14]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
Expand Down

0 comments on commit 8b728f2

Please sign in to comment.