small editor lint fix #23
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: Editor tests | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- editor/** | |
pull_request: | |
branches: [ master ] | |
paths: | |
- editor/** | |
jobs: | |
editor: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
strategy: | |
matrix: | |
node-version: [18] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Editor - Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# using workspace as yarn workspaces only geenrate lock files in the root | |
- run: yarn install && yarn workspace @clyde-lang/parser build && yarn workspace @clyde-lang/interpreter build && yarn workspace clyde-editor test --coverage |