From 6dc3696910f1e329ddae016c7d03c32c9ae840ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:27:46 +0200 Subject: [PATCH] build(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#148) --- .github/dependabot.yml | 2 -- .github/workflows/commitlint.yml | 3 +-- .github/workflows/nodejs.yml | 22 ++++++---------------- .github/workflows/npm-publish.yml | 21 +++++++-------------- 4 files changed, 14 insertions(+), 34 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index eba656e..9a5cbfb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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' diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 5c90bc1..67b2525 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -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' diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a824e06..62d0875 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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' diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 85eccc1..3e90656 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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}}