Update typescript-eslint monorepo to v6.4.0 #321
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
# GitHub Actions | |
# https://help.github.com/en/articles/configuring-a-workflow | |
name: Cypress tests | |
on: push | |
jobs: | |
test1: | |
name: Cypress test | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# install a specific version of Node using | |
# https://github.com/actions/setup-node | |
- name: Use Node.js v14 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
# just so we learn about available environment variables GitHub provides | |
- name: Print env variables | |
run: | | |
npm i -g @bahmutov/print-env | |
print-env GITHUB | |
# Restore the previous NPM modules and Cypress binary archives. | |
# Any updated archives will be saved automatically after the entire | |
# workflow successfully finishes. | |
# See https://github.com/actions/cache | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Cache Cypress binary | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/Cypress | |
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
cypress-${{ runner.os }}-cypress- | |
- name: install dependencies and verify Cypress | |
env: | |
# make sure every Cypress install prints minimal information | |
CI: 1 | |
# print Cypress and OS info | |
run: | | |
npm ci | |
npx cypress verify | |
npx cypress info | |
npx cypress version | |
npx cypress version --component package | |
npx cypress version --component binary | |
npx cypress version --component electron | |
npx cypress version --component node | |
# Starts local server, then runs Cypress tests and records results on the dashboard | |
- name: Cypress tests | |
uses: cypress-io/github-action@v4 | |
with: | |
start: npm run test |