This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
replace xhr,@cypress/request with fetch,node-fetch #154
Workflow file for this run
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, Lint, and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build-lint-test: | |
name: Build, Lint, and Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn --frozen-lockfile --ignore-scripts | |
- run: yarn build | |
- run: yarn bundle | |
- run: yarn lint | |
- run: yarn test | |
all-jobs-pass: | |
name: All jobs pass | |
runs-on: ubuntu-latest | |
needs: | |
- build-lint-test | |
steps: | |
- uses: actions/checkout@v2 | |
- run: echo "Great success!" |