2
1
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:
dependabot[bot] 2021-07-01 09:27:46 +02:00 committed by GitHub
parent e500fd3862
commit 6dc3696910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 34 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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}}