1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-24 17:11:55 +01:00

Move checkout step before getting Node version (#6500)

This commit is contained in:
Vince Grassia 2023-10-04 18:01:44 -04:00 committed by GitHub
parent d40f996e71
commit a91a39fe80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,11 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
- name: Get Node Version
id: retrieve-node-version
run: |
@ -24,11 +29,6 @@ jobs:
with:
node-version: ${{ steps.retrieve-node-version.outputs.node_version }}
- name: Checkout repo
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
- name: Cache npm
id: npm-cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1