Navigation Menu

Skip to content

Commit

Permalink
Fix: actions/setup-node doesn't support 'lts/-1' synytax
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken committed Oct 6, 2021
1 parent 61ac23c commit cf2b538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/dependabot-automerge.yml
Expand Up @@ -11,15 +11,7 @@ permissions:

jobs:
lib_test:
strategy:
matrix:
node:
- name: Latest LTS
version: lts/*
- name: Prev LTS
version: lts/-1

name: Unit Test (Node.js ${{ matrix.node.name }})
name: Unit Test (Node.js)
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'

Expand All @@ -31,7 +23,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node.version }}
node-version: lts/*

- name: Install dependencies
run: yarn --frozen-lockfile
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Expand Up @@ -49,15 +49,7 @@ jobs:
- run: deno run test/src/index.mjs

lib_test:
strategy:
matrix:
node:
- name: Latest LTS
version: lts/*
- name: Prev LTS
version: lts/-1

name: Unit Test (Node.js ${{ matrix.node.name }})
name: Unit Test (Node.js)
runs-on: ubuntu-latest
if: |
github.event_name == 'schedule' ||
Expand All @@ -71,7 +63,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node.version }}
node-version: lts/*

- name: Install dependencies
run: yarn --frozen-lockfile
Expand Down

0 comments on commit cf2b538

Please sign in to comment.