Skip to content

Commit

Permalink
refactor(gha): try to fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneDOYON committed Nov 15, 2023
1 parent 7e73195 commit cf77a4b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- uses: actions/checkout@v3
- run: |
git fetch --no-tags --prune origin master
- name: Derive appropriate SHAs for base and head for `nx affected` commands
Expand All @@ -54,10 +51,10 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6
- uses: actions/setup-node@v3
version: 8
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '16'
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: npx nx affected --base=origin/master --target=lint --parallel --max-parallel=3
Expand Down

0 comments on commit cf77a4b

Please sign in to comment.