This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(.github): update from alwatr org
- Loading branch information
Showing
5 changed files
with
16 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,9 +29,22 @@ jobs: | |
- name: 🏗 Setup nodejs | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{env.NODE_VERSION}} | ||
registry-url: https://registry.npmjs.org/ | ||
cache: yarn | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: 🏗 Setup nodejs corepack | ||
run: corepack enable | ||
|
||
- name: 🏗 Get yarn config | ||
id: yarn_config | ||
run: echo "cache_folder=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/[email protected] | ||
# id: yarn_cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
with: | ||
path: ${{ steps.yarn_config.outputs.cache_folder }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: 🏗 Install dependencies | ||
run: yarn install --immutable | ||
|