Skip to content

Commit

Permalink
chore: update snyk workflow to use node20 (#10324)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbumblis-parabol authored Oct 9, 2024
1 parent 887abd4 commit 8e1222f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/synk-yarn-lock-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, no need to create one
token: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, no need to create one

- name: Setup environment variables
run: |
Expand All @@ -26,15 +26,15 @@ jobs:
echo "DOCKER_REPOSITORY_FOR_REF=${{ secrets.GCP_AR_PARABOL_DEV }}" >> $GITHUB_ENV
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: package.json
# Caching yarn dir & running yarn install is too slow
# Instead, we aggressively cache node_modules below to avoid calling install

- name: Get cached node modules
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down

0 comments on commit 8e1222f

Please sign in to comment.