Skip to content

Use a cloud-hosted runner #69

Use a cloud-hosted runner

Use a cloud-hosted runner #69

Workflow file for this run

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: Update ChromeDriver
run: |
CHROME_VERSION=$(google-chrome --version | cut -d ' ' -f 3 | cut -d '.' -f 1)
CHROMEDRIVER_VERSION=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION")
curl -L -o chromedriver.zip "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
unzip chromedriver.zip
chmod +x chromedriver
sudo mv chromedriver /usr/local/bin/
- 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