Skip to content

Commit

Permalink
add concurrency and tags back
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Aug 20, 2024
1 parent 896e891 commit 2cbe7a6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pull-request-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ on:
- master
- develop

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

jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'build-artifacts')
strategy:
fail-fast: false
matrix:
Expand All @@ -21,17 +26,17 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node 21.7.1
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '21.7.1'

- name: Setup node_modules cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit 2cbe7a6

Please sign in to comment.