diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98262456a..7053303b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,12 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Insert auth font awesome auth token run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v3 with: node-version: '16.13' + cache: 'yarn' - name: Install and Build 🔧 run: | # Install npm packages and build the Storybook files yarn install --pure-lockfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f559d0ca..9a3e595ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,13 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Insert auth font awesome auth token run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v3 with: node-version: '16.13' + cache: 'yarn' - name: Install dependencies run: yarn install --pure-lockfile - name: TypeScript check diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 15d42c4b1..56692a2ea 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -8,12 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Insert auth font awesome auth token run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v3 with: node-version: '16.13' + cache: 'yarn' - name: Install and Build 🔧 run: | # Install npm packages and build the Storybook files yarn install --pure-lockfile