Use a cloud-hosted runner #71
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install dependencies | |
run: yarn install | |
- name: Build (TypeScript) | |
run: ./build.sh | |
- name: Test JavaScript normalization | |
working-directory: normalize-js | |
run: yarn run test | |
- name: Test continuations compiler | |
working-directory: stopify-continuations-compiler | |
run: yarn run test | |
- name: Test Stopify | |
working-directory: stopify | |
run: yarn run test |