Skip to content

Ci/create release workflow #83

Ci/create release workflow

Ci/create release workflow #83

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
- dev
workflow_dispatch:
env:
EM_CACHE_FOLDER: "emsdk-cache"
jobs:
checkout:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
setup:
needs: checkout
uses: './.github/workflows/setup.yml'

Check failure on line 21 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

error parsing called workflow ".github/workflows/tests.yml" -> "./.github/workflows/setup.yml" : workflow is not reusable as it is missing a `on.workflow_call` trigger
tests:
runs-on: ubuntu-latest
needs: [checkout, setup]
steps:
- name: "Run build"
run: pnpm build
- name: "Run tests"
run: pnpm test:unit
- name: "Run linter"
run: pnpm clean && pnpm lint