Bumps the github-actions group with 1 update in the / directory: [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/setup-node` from 6 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
37 lines
828 B
YAML
37 lines
828 B
YAML
name: Test Build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node: [
|
|
"22",
|
|
"24",
|
|
"26",
|
|
]
|
|
name: Node v${{ matrix.node }}
|
|
env:
|
|
CI: true
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Setup node v${{ matrix.node }}
|
|
uses: actions/setup-node@v7
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: npm install
|
|
- run: npm run build:all
|
|
- name: Archive production artifacts
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: dist-node-v${{ matrix.node }}
|
|
path: dist
|
|
retention-days: 30
|
|
- run: NODE_ENV=development npm run test:e2e
|
|
- run: NODE_ENV=production npm run test:e2e
|