Skip to content

fix(cache): Clear deps and context when get value from cache #143

fix(cache): Clear deps and context when get value from cache

fix(cache): Clear deps and context when get value from cache #143

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 19
cache: "npm"
- uses: browser-actions/setup-chrome@latest
- uses: browser-actions/setup-firefox@latest
- name: Install dependencies
run: |
npm install
npx playwright install-deps webkit
- name: Run tests
run: |
npm run test
npm run test:coverage || true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}