update trigger for Hyperweb Test #7
This file contains 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: Run Hyperweb Build Tests 🧪 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository 📥 | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' # Ensures submodules are also checked out | |
- name: Setup Node.js 🌐 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
cache: 'yarn' | |
- name: Install Dependencies 🧶 | |
run: | | |
yarn install | |
yarn symlink | |
- name: Build Project 🏗️ | |
run: | | |
yarn build | |
yarn symlink | |
- name: Test @hyperweb/build 🔍 | |
run: cd packages/build && yarn test | |
- name: Test @hyperweb/ts-json-schema 🔍 | |
run: cd packages/ts-json-schema && yarn test | |