build(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#148)
This commit is contained in:
parent
e500fd3862
commit
6dc3696910
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@ -1,5 +1,3 @@
|
|||||||
# For more information see: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: 'github-actions'
|
- package-ecosystem: 'github-actions'
|
||||||
|
3
.github/workflows/commitlint.yml
vendored
3
.github/workflows/commitlint.yml
vendored
@ -1,5 +1,3 @@
|
|||||||
# For more information see: https://github.com/marketplace/actions/commit-linter
|
|
||||||
|
|
||||||
name: 'Lint Commit Messages'
|
name: 'Lint Commit Messages'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -16,5 +14,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: 'wagoid/commitlint-github-action@v3.1.4'
|
- uses: 'wagoid/commitlint-github-action@v3.1.4'
|
||||||
|
|
||||||
with:
|
with:
|
||||||
configFile: '.commitlintrc.json'
|
configFile: '.commitlintrc.json'
|
||||||
|
22
.github/workflows/nodejs.yml
vendored
22
.github/workflows/nodejs.yml
vendored
@ -1,5 +1,3 @@
|
|||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
||||||
|
|
||||||
name: 'Node.js CI'
|
name: 'Node.js CI'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -11,25 +9,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
ci_app:
|
ci_app:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [14.x]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v2.3.4'
|
- uses: 'actions/checkout@v2.3.4'
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: 'Use Node.js'
|
||||||
uses: 'actions/setup-node@v2.1.5'
|
uses: 'actions/setup-node@v2.2.0'
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: '16.x'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
- name: 'Cache dependencies'
|
- name: 'Install'
|
||||||
uses: 'actions/cache@v2.1.6'
|
run: 'npm install'
|
||||||
with:
|
|
||||||
path: '.npm'
|
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
|
||||||
run: 'npm ci --cache .npm --prefer-offline'
|
|
||||||
|
|
||||||
- run: 'npm run lint:editorconfig'
|
- run: 'npm run lint:editorconfig'
|
||||||
- run: 'npm run lint:markdown'
|
- run: 'npm run lint:markdown'
|
||||||
|
21
.github/workflows/npm-publish.yml
vendored
21
.github/workflows/npm-publish.yml
vendored
@ -1,5 +1,3 @@
|
|||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
||||||
|
|
||||||
name: 'Node.js Package'
|
name: 'Node.js Package'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -12,25 +10,20 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v2.3.4'
|
- uses: 'actions/checkout@v2.3.4'
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: 'Use Node.js'
|
||||||
uses: 'actions/setup-node@v2.1.5'
|
uses: 'actions/setup-node@v2.2.0'
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: '16.x'
|
||||||
|
cache: 'npm'
|
||||||
registry-url: 'https://registry.npmjs.org/'
|
registry-url: 'https://registry.npmjs.org/'
|
||||||
|
|
||||||
- name: 'Cache dependencies'
|
- name: 'Install'
|
||||||
uses: 'actions/cache@v2.1.6'
|
run: 'npm install'
|
||||||
with:
|
|
||||||
path: '.npm'
|
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
|
||||||
run: 'npm ci --cache .npm --prefer-offline'
|
|
||||||
|
|
||||||
- name: 'Build'
|
- name: 'Build'
|
||||||
run: 'npm run build'
|
run: 'npm run build'
|
||||||
|
|
||||||
- name: 'Publish package on npm'
|
- name: 'Publish'
|
||||||
run: 'npm publish --access public'
|
run: 'npm publish --access public'
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
Reference in New Issue
Block a user