Skip to content

Commit

Permalink
Bump CRWA Node.js Engine requirement from 12 to 14 (#1946)
Browse files Browse the repository at this point in the history
* bump template node engine; update GH Actions

* add .nvmrc to template
  • Loading branch information
thedavidprice committed Mar 9, 2021
1 parent 42ec5eb commit 5dbb9e0
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-eslint-jest.yaml
Expand Up @@ -11,15 +11,15 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node-version: ['14', '12']
node-version: ['14']
fail-fast: true
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} | Node ${{ matrix.node-version }} latest
steps:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_pr_artifact.yaml
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 14

Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/e2e.yaml
Expand Up @@ -9,11 +9,21 @@ on:
jobs:
cypress-run:
if: github.repository == 'redwoodjs/redwood'
runs-on: ubuntu-16.04

strategy:
matrix:
os: ['ubuntu-latest']
node-version: ['14']
fail-fast: true
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} | Node ${{ matrix.node-version }} latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2

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

- name: Install framework modules
run: yarn install --frozen-lockfile
Expand Down Expand Up @@ -46,4 +56,4 @@ jobs:
env: true
wait-on: 'http://localhost:8910'
record: true
working-directory: ./tasks/e2e
working-directory: ./tasks/e2e
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-canary.yaml
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
fetch-depth: 0 # Required because lerna uses tags to determine the version.
- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '12'
node-version: '14'
- name: Print node and yarn versions
run: |
node --version
Expand Down
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
.idea
.DS_Store
.nvmrc
node_modules
dist
lerna-debug.log
Expand Down
1 change: 1 addition & 0 deletions packages/create-redwood-app/template/.nvmrc
@@ -0,0 +1 @@
lts/*
2 changes: 1 addition & 1 deletion packages/create-redwood-app/template/package.json
Expand Up @@ -15,7 +15,7 @@
"root": true
},
"engines": {
"node": ">=12",
"node": ">=14",
"yarn": ">=1.15"
},
"resolutions": {
Expand Down

0 comments on commit 5dbb9e0

Please sign in to comment.