Skip to content

fix: fix build issue due to type change in codemirror-vim #121

fix: fix build issue due to type change in codemirror-vim

fix: fix build issue due to type change in codemirror-vim #121

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main, staging]
jobs:
test:
strategy:
fail-fast: false
matrix:
node-version: [14.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Run tests
run: |
yarn install
yarn test
env:
REACT_APP_BACKEND_API: http://localhost:3001
REACT_APP_BACKEND_WS_API: ws://localhost:3001
GENERATE_SOURCEMAP: false