Skip to content

v3.14.2

v3.14.2 #1491

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@v3
with:
path: akashic-engine
- name: Checkout engine-files repository
uses: actions/checkout@v3
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/