Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vojty committed Oct 7, 2024
1 parent 5d2a1b8 commit 7aebfa5
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Setup Rust
uses: hecrj/setup-rust-action@v2
Expand All @@ -29,22 +29,14 @@ jobs:
with:
version: 'latest'

# https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time
- name: Cache pnpm modules
uses: actions/cache@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
version: 9
run_install: false

- name: Installing Dependencies
uses: pnpm/action-setup@v2
with:
version: 7
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Install dependencies
run: pnpm install

- name: Build WASM + list of ROMs
run: |
Expand All @@ -59,7 +51,7 @@ jobs:
run: USE_HASH_ROUTER=true pnpm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 7aebfa5

Please sign in to comment.