Skip to content

Commit

Permalink
feat: use node16 as action run mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse authored Mar 29, 2023
1 parent ae2f6b0 commit 7bf92d8
Show file tree
Hide file tree
Showing 10 changed files with 3,611 additions and 17,037 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
schedule:
- cron: '0 6 * * 1'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analyse:
name: analyze
Expand All @@ -19,10 +23,9 @@ jobs:
matrix:
language: ['javascript']
steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/analyze@v1
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2
2 changes: 2 additions & 0 deletions .github/workflows/github-slug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- run: npm install
shell: bash
- run: npm run all
shell: bash
- uses: ./
- name: Partial variables
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ on:
branches-ignore:
- v*.x

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
release-dryrun:
runs-on: ubuntu-latest
steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v3
- run: npm install
shell: bash
- run: npm run all
shell: bash
- uses: ./
- uses: cycjimmy/semantic-release-action@v3
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ on:
branches:
- v*.x

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v3
- run: npm install
shell: bash
- run: npm run all
shell: bash
- uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "GitHub Slug Action"
description: "GitHub Action to expose slug value of environment variables inside your GitHub workflow"
author: 'rlespinasse'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:
icon: "minimize"
Expand Down
Loading

0 comments on commit 7bf92d8

Please sign in to comment.