mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
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
|
||||
updates:
|
||||
- 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'
|
||||
|
||||
on:
|
||||
@ -16,5 +14,6 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: 'wagoid/commitlint-github-action@v3.1.4'
|
||||
|
||||
with:
|
||||
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'
|
||||
|
||||
on:
|
||||
@ -11,25 +9,17 @@ on:
|
||||
jobs:
|
||||
ci_app:
|
||||
runs-on: 'ubuntu-latest'
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14.x]
|
||||
steps:
|
||||
- uses: 'actions/checkout@v2.3.4'
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: 'actions/setup-node@v2.1.5'
|
||||
- name: 'Use Node.js'
|
||||
uses: 'actions/setup-node@v2.2.0'
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
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 dependencies'
|
||||
run: 'npm ci --cache .npm --prefer-offline'
|
||||
- name: 'Install'
|
||||
run: 'npm install'
|
||||
|
||||
- run: 'npm run lint:editorconfig'
|
||||
- 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'
|
||||
|
||||
on:
|
||||
@ -12,25 +10,20 @@ jobs:
|
||||
steps:
|
||||
- uses: 'actions/checkout@v2.3.4'
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: 'actions/setup-node@v2.1.5'
|
||||
- name: 'Use Node.js'
|
||||
uses: 'actions/setup-node@v2.2.0'
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: '16.x'
|
||||
cache: 'npm'
|
||||
registry-url: 'https://registry.npmjs.org/'
|
||||
|
||||
- name: 'Cache dependencies'
|
||||
uses: 'actions/cache@v2.1.6'
|
||||
with:
|
||||
path: '.npm'
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: 'npm ci --cache .npm --prefer-offline'
|
||||
- name: 'Install'
|
||||
run: 'npm install'
|
||||
|
||||
- name: 'Build'
|
||||
run: 'npm run build'
|
||||
|
||||
- name: 'Publish package on npm'
|
||||
- name: 'Publish'
|
||||
run: 'npm publish --access public'
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
Loading…
Reference in New Issue
Block a user