Home biz lls/main merge. #1209
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: Run tests on PR | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.17.6' | |
- name: Setup timezone | |
uses: zcong1993/setup-timezone@master | |
with: | |
timezone: Europe/Stockholm | |
- name: Install dependencies | |
run: yarn | |
- name: Run lint | |
run: | | |
yarn lint | |
env: | |
CI: true | |
- name: Run tests | |
run: | | |
yarn test | |
env: | |
CI: true |