openscad-playground/.github/workflows/test.yml
dependabot[bot] 908bd461b5
chore(ci): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2026-03-01 09:53:55 +00:00

36 lines
898 B
YAML

name: Test Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
node: [
{"name": "LTS", "version": "lts/-2"},
{"name": "latest", "version": "latest"}
]
name: Node ${{ matrix.node.name }}
env:
CI: true
steps:
- uses: actions/checkout@v6
- name: Setup node ${{ matrix.node.name }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node.version }}
- run: npm install
- run: npm run build:all
- name: Archive production artifacts
uses: actions/upload-artifact@v7
with:
name: dist-node-${{ matrix.node.name }}
path: dist
retention-days: 30
- run: NODE_ENV=development npm run test:e2e
- run: NODE_ENV=production npm run test:e2e