feat: use node16 as action run mode

This commit is contained in:
Romain Lespinasse
2023-03-29 08:31:58 +02:00
committed by GitHub
parent ae2f6b069b
commit 7bf92d88ff
10 changed files with 2871 additions and 16297 deletions

View File

@@ -10,6 +10,10 @@ on:
schedule: schedule:
- cron: '0 6 * * 1' - cron: '0 6 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
analyse: analyse:
name: analyze name: analyze
@@ -19,10 +23,9 @@ jobs:
matrix: matrix:
language: ['javascript'] language: ['javascript']
steps: steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: github/codeql-action/init@v1 - uses: github/codeql-action/init@v2
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v1 - uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v1 - uses: github/codeql-action/analyze@v2

View File

@@ -11,7 +11,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: npm install - run: npm install
shell: bash
- run: npm run all - run: npm run all
shell: bash
- uses: ./ - uses: ./
- name: Partial variables - name: Partial variables
run: | run: |

View File

@@ -5,14 +5,18 @@ on:
branches-ignore: branches-ignore:
- v*.x - v*.x
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs: jobs:
release-dryrun: release-dryrun:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: npm install - run: npm install
shell: bash
- run: npm run all - run: npm run all
shell: bash
- uses: ./ - uses: ./
- uses: cycjimmy/semantic-release-action@v3 - uses: cycjimmy/semantic-release-action@v3
with: with:

View File

@@ -5,14 +5,18 @@ on:
branches: branches:
- v*.x - v*.x
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: npm install - run: npm install
shell: bash
- run: npm run all - run: npm run all
shell: bash
- uses: cycjimmy/semantic-release-action@v3 - uses: cycjimmy/semantic-release-action@v3
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -2,7 +2,7 @@ name: "GitHub Slug Action"
description: "GitHub Action to expose slug value of environment variables inside your GitHub workflow" description: "GitHub Action to expose slug value of environment variables inside your GitHub workflow"
author: 'rlespinasse' author: 'rlespinasse'
runs: runs:
using: 'node12' using: 'node16'
main: 'dist/index.js' main: 'dist/index.js'
branding: branding:
icon: "minimize" icon: "minimize"

3529
dist/index.js vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11695
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,7 +35,7 @@
"@types/jest": "^26.0.24", "@types/jest": "^26.0.24",
"@types/node": "^14.18.25", "@types/node": "^14.18.25",
"@typescript-eslint/eslint-plugin": "^5.38.1", "@typescript-eslint/eslint-plugin": "^5.38.1",
"@vercel/ncc": "^0.23.0", "@vercel/ncc": "^0.36.1",
"eslint": "^8.0.1", "eslint": "^8.0.1",
"eslint-plugin-github": "^4.3.7", "eslint-plugin-github": "^4.3.7",
"eslint-plugin-jest": "^23.20.0", "eslint-plugin-jest": "^23.20.0",