Skip to content

Commit

Permalink
using asdf to install plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Iuri Pereira <[email protected]>
  • Loading branch information
iuricmp committed Jul 25, 2023
1 parent de6d32b commit a74c53c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup node
- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Setup tools
run: |
asdf plugin add nodejs
asdf install nodejs
make asdf.install_plugins
echo "node_version=$(asdf current nodejs | xargs | cut -d ' ' -f 2)" >> $GITHUB_ENV
- name: Setup yarn
run: |
asdf plugin add yarn
asdf install yarn
# - name: Setup yarn
# run: |
# asdf plugin add yarn
# asdf install yarn

- name: Cache node modules
uses: actions/[email protected]
Expand All @@ -51,9 +53,6 @@ jobs:
- name: Set TMPDIR environment variable
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Build IOS
run: make build.ios

0 comments on commit a74c53c

Please sign in to comment.