Skip to content

Commit

Permalink
chore(infra): upgrade workflow actions to use node v20 (#1845)
Browse files Browse the repository at this point in the history
* chore(infra): upgrade workflow actions to use node v20

* chore: bump upload-artifact to v4
  • Loading branch information
sean-perkins committed Jun 5, 2024
1 parent d16e360 commit cbbca9f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20

Expand All @@ -29,7 +29,7 @@ jobs:
- run: tar -cf build.tar build dist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build
path: build.tar
Expand All @@ -46,15 +46,15 @@ jobs:
needs: build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build

- run: tar -xf build.tar

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
Expand Down Expand Up @@ -90,15 +90,15 @@ jobs:
needs: build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build

- run: tar -xf build.tar

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
# Legacy starter apps do not support
# node 16+ which is why we have a separate job
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wizard-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Ionic CLI
run: npm install -g @ionic/cli
Expand Down

0 comments on commit cbbca9f

Please sign in to comment.