feat(nvm): add support for nvm & minor actions housekeeping (#2979)
* feat: add `.nvmrc` for specifying node version
Co-Authored-By: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>
* chore(deps): bump setup-node to v4
* build: use node-version-file instead of hardcoded 18.x
* chore(deps): bump nvm version
* fix: checkout before install 🎉
---------
Co-authored-by: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>
This commit is contained in:
parent
e9ad3f552d
commit
771999761e
6 changed files with 13 additions and 12 deletions
4
.github/workflows/build-submit-android.yml
vendored
4
.github/workflows/build-submit-android.yml
vendored
|
@ -26,9 +26,9 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔧 Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version-file: .nvmrc
|
||||
cache: yarn
|
||||
|
||||
- name: 🔨 Setup EAS
|
||||
|
|
4
.github/workflows/build-submit-ios.yml
vendored
4
.github/workflows/build-submit-ios.yml
vendored
|
@ -28,9 +28,9 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔧 Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version-file: .nvmrc
|
||||
cache: yarn
|
||||
|
||||
- name: 🔨 Setup EAS
|
||||
|
|
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
@ -32,12 +32,12 @@ jobs:
|
|||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install node 18
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: .nvmrc
|
||||
- name: Yarn install
|
||||
uses: Wandalen/wretry.action@master
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue