1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00

build(deps): bump actions/setup-node from 2.1.5 to 2.2.0

This commit is contained in:
Divlo 2021-07-01 10:00:18 +02:00
parent d0aee3a376
commit b37a70a1f6
No known key found for this signature in database
GPG Key ID: 185ED2F15F104E52

View File

@ -13,18 +13,13 @@ jobs:
- uses: 'actions/checkout@v2' - uses: 'actions/checkout@v2'
- name: 'Use Node.js' - name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5' uses: 'actions/setup-node@v2.2.0'
with: with:
node-version: '16.x' node-version: '16.x'
cache: 'npm'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install' - name: 'Install'
run: 'npm ci --cache .npm --prefer-offline' run: 'npm install'
- run: 'npm run lint:commit -- --to "${{ github.sha }}"' - run: 'npm run lint:commit -- --to "${{ github.sha }}"'
- run: 'npm run lint:editorconfig' - run: 'npm run lint:editorconfig'
@ -37,19 +32,13 @@ jobs:
- uses: 'actions/checkout@v2' - uses: 'actions/checkout@v2'
- name: 'Use Node.js' - name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5' uses: 'actions/setup-node@v2.2.0'
with: with:
node-version: '16.x' node-version: '16.x'
cache: 'npm'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install' - name: 'Install'
run: 'npm ci --cache .npm --prefer-offline' run: 'npm install'
- name: 'Build' - name: 'Build'
run: 'npm run build' run: 'npm run build'
@ -60,19 +49,13 @@ jobs:
- uses: 'actions/checkout@v2' - uses: 'actions/checkout@v2'
- name: 'Use Node.js' - name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5' uses: 'actions/setup-node@v2.2.0'
with: with:
node-version: '16.x' node-version: '16.x'
cache: 'npm'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install' - name: 'Install'
run: 'npm ci --cache .npm --prefer-offline' run: 'npm install'
- name: 'Test' - name: 'Test'
run: 'npm run test' run: 'npm run test'
@ -90,18 +73,13 @@ jobs:
SKIP_LOGIN: true SKIP_LOGIN: true
- name: 'Use Node.js' - name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5' uses: 'actions/setup-node@v2.2.0'
with: with:
node-version: '16.x' node-version: '16.x'
cache: 'npm'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install' - name: 'Install'
run: 'npm ci --cache .npm --prefer-offline' run: 'npm install'
- name: 'Build' - name: 'Build'
run: 'npm run build' run: 'npm run build'