Merge pull request #25 from macacajs/fix/fix-context-size #142
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "**" | |
jobs: | |
test: | |
name: 'Run test: playwright docker' | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
container: mcr.microsoft.com/playwright:focal | |
env: | |
HEADLESS: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set node version to 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install deps | |
run: | | |
npm i npm@6 -g | |
npm i | |
- name: Run lint | |
run: npm run lint | |
- name: Run test | |
run: npm run test | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |