update ci config #1628
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: CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['16.x'] | |
name: Node ${{ matrix.node }} sample | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
git fetch --no-tags --depth=1 origin master | |
git checkout -b master | |
git checkout ${{ github.event.pull_request.head.sha }} | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Dependencies | |
run: yarn | |
- name: Run Eslint checks | |
run: yarn check:es | |
- name: Run Changed tests | |
run: yarn tests:changedsince |