Skip to content

Commit

Permalink
ci: bump action and node version
Browse files Browse the repository at this point in the history
  • Loading branch information
neopostmodern committed Sep 17, 2024
1 parent 2e60628 commit 135946c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up node / npm with caching
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: |
package-lock.json
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Pack setup
run: tar cf setup.tar *
- name: Store setup (as artifact)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: setup-${{ matrix.os }}
retention-days: 1
Expand All @@ -63,7 +63,7 @@ jobs:
needs: [setup]
steps:
- name: Download setup (from artifact)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-ubuntu-latest
- name: Unpack setup
Expand All @@ -88,7 +88,7 @@ jobs:
needs: [setup]
steps:
- name: Download setup (from artifact)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-${{ matrix.os }}
- name: Unpack setup
Expand All @@ -111,7 +111,7 @@ jobs:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Download setup (from artifact)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-ubuntu-latest
- name: Unpack setup
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up node / npm with caching
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: |
package-lock.json
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Pack setup
run: tar cf setup.tar *
- name: Store setup (as artifact)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: setup-${{ matrix.os }}
retention-days: 1
Expand All @@ -63,7 +63,7 @@ jobs:
needs: [setup]
steps:
- name: Download setup (from artifact)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-ubuntu-latest
- name: Unpack setup
Expand All @@ -88,15 +88,15 @@ jobs:
needs: [setup]
steps:
- name: Download setup (from artifact)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-${{ matrix.os }}
- name: Unpack setup
run: tar xf setup.tar && rm setup.tar
- name: Build Electron app
run: npm run client:build:electron
- name: Store installers as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Installer ${{ runner.os }}
path: client/release/build/structure-*
Expand All @@ -115,7 +115,7 @@ jobs:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Download setup (from artifact)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-ubuntu-latest
- name: Unpack setup
Expand Down

0 comments on commit 135946c

Please sign in to comment.