This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
chore(deps): update dependency mocha to v10 #4886
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: Build and Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['14', '16'] | |
name: Test using node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install -g yarn | |
- run: yarn install | |
- run: yarn test --forbid-only | |
- uses: codecov/[email protected] | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
integration: | |
runs-on: ubuntu-latest | |
name: Integration tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 12 | |
- run: npm install -g yarn | |
- run: yarn install | |
- run: yarn cypress:run --record --key ${{secrets.CYPRESS_KEY}} | |
env: | |
CI: true | |
COMMIT_INFO_BRANCH: ${GITHUB_REF} | |
linter: | |
runs-on: ubuntu-latest | |
name: Linter | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 12 | |
- run: npm install -g yarn | |
- run: yarn install | |
- run: yarn linter |