This repository was archived by the owner on Apr 15, 2025. It is now read-only.
chore(deps): replace devdependency babel-eslint with @babel/eslint-parser 7.11.0 #635
This file contains hidden or 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: Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Test & Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: [12] | |
steps: | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: cache node_modules | |
uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
node_modules | |
~/.cache/ms-playwright/ | |
~\AppData\Local\ms-playwright\ | |
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }} | |
- name: Install Dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci | |
- name: Test | |
run: npm run test |