Skip to content

Commit

Permalink
chore: update node 15 to node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
aaneitchik authored Mar 11, 2022
1 parent 06810ae commit 9c42a90
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 55 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/continuous-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
node-version: 15
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Build
Expand Down
63 changes: 16 additions & 47 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
node-version: 15
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Build
Expand All @@ -47,14 +42,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
node-version: 15
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Format
Expand All @@ -71,14 +61,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
node-version: 15
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Lint
Expand All @@ -95,14 +80,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
node-version: 15
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Spellcheck
Expand All @@ -119,16 +99,10 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
cache: 'npm'
node-version: 12
- name: Install latest npm
run: npm install --global npm@latest
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Test
Expand All @@ -149,14 +123,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3.0.0
with:
node-version: 15
- name: Cache dependencies
uses: actions/cache@v2.1.7
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Types
Expand Down

0 comments on commit 9c42a90

Please sign in to comment.