added test modification #52
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: Continuous testing | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: c-hive/gha-yarn-cache@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- run: yarn run lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: c-hive/gha-yarn-cache@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- run: yarn run build | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: c-hive/gha-yarn-cache@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- run: yarn run test |