Skip to content

Commit

Permalink
chore: support Node.js 14+
Browse files Browse the repository at this point in the history
  • Loading branch information
edosrecki committed Nov 11, 2022
1 parent e8dcf6d commit f78efb7
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 16,303 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm

- name: Install packages
run: npm ci
run: npm install

- name: Lint
run: npm run lint
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ jobs:
build:
name: Build app
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
node-version: ${{ matrix.node-version }}

- name: Install packages
run: npm ci
run: npm install

- name: Lint
run: npm run lint
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.0
14
Loading

0 comments on commit f78efb7

Please sign in to comment.