Merge pull request #539 from bcorfman/phase2validationharness #894
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PhaserForge CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| schedule: | |
| - cron: '0 6 * * *' | |
| workflow_dispatch: | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-tests-node: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| - name: Install | |
| run: npm ci | |
| - name: Unit Tests (Node) | |
| run: npm run test:unit:node | |
| unit-tests-jsdom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Git LFS | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y git-lfs | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| lfs: true | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| - name: Install | |
| run: npm ci | |
| - name: Unit Tests (jsdom) | |
| run: npm run test:unit:jsdom | |
| storybook-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Git LFS | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y git-lfs | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| lfs: true | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| - name: Install | |
| run: npm ci | |
| - name: Storybook Tests | |
| run: npm run test:stories | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Git LFS | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y git-lfs | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| lfs: true | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| - name: Install | |
| run: npm ci | |
| - name: Build | |
| run: npm run build |