Skip to content

(fix) allow non-literal createEventDispatcher generic template #1809

(fix) allow non-literal createEventDispatcher generic template

(fix) allow non-literal createEventDispatcher generic template #1809

Workflow file for this run

name: CI
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
cache: yarn
# Get projects set up
- run: yarn install
- run: yarn bootstrap
- run: yarn build
# Run any tests
- run: yarn test
env:
CI: true
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
cache: yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
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-
# Get projects set up
- run: yarn install
- run: yarn lint