Skip to content

chore(deps): update actions/checkout action to v4 #1540

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #1540

Workflow file for this run

name: reftest
on: [push, pull_request]
jobs:
reftest:
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} / ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16.x, 18.x]
steps:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Checkout akashic-engine repository
uses: actions/checkout@v4
with:
path: akashic-engine
- name: Checkout engine-files repository
uses: actions/checkout@v4
with:
repository: akashic-games/engine-files
path: engine-files
- name: Pack akashic-engine
working-directory: akashic-engine
id: akashic_engine
run: |
npm ci
echo "pack_name=$(npm pack)" >> $GITHUB_OUTPUT
- name: Run engine-files reftest
working-directory: engine-files
run: |
npm ci
npm i ../akashic-engine/${{steps.akashic_engine.outputs.pack_name}} --no-save
npm run build
npm test
- name: Archive artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: engine_files_reftest_result
path: |
./engine-files/tests/fixtures/**/expected/
./engine-files/tests/fixtures/**/actual/
./engine-files/tests/fixtures/**/diff/