Skip to content

chore(ace): add standard support #762

chore(ace): add standard support

chore(ace): add standard support #762

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checkout_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- node-version: 16.x
- node-version: 18.x
- node-version: latest
steps:
- name: Checkout code from ${{ github.repository }}
uses: actions/checkout@v3
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install yarn
run: corepack enable && corepack prepare yarn@stable --activate
- name: Wasm pack build modules
run: cd kayle_innate && wasm-pack build --target nodejs && cd ../
- name: Install and build locales
run: yarn --no-immutable && yarn build && npx playwright install --with-deps chromium
- name: Run Playwright kayle.js
run: cd ./kayle && yarn test:playwright && yarn test:playwright:axe
- name: Run Puppeteer kayle.js
run: cd ./kayle && yarn test:puppeteer && yarn test:puppeteer:axe
- name: Run Puppeteer [wasm] links handle
run: cd ./kayle && yarn test:puppeteer:wasm