Skip to content

window.history cannot be cleared, push "/" URL instead #436

window.history cannot be cleared, push "/" URL instead

window.history cannot be cleared, push "/" URL instead #436

Workflow file for this run

# https://github.com/actions/starter-workflows/blob/0a3644524d68072ce9bc7a23882039adae357184/ci/node.js.yml
name: Node.js CI
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
cache: 'npm'
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run lint
- run: npm run build
- run: npm run test:coverage
- name: Upload coverage to Code Climate
run: |
curl --location https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > cc-test-reporter
chmod +x cc-test-reporter
./cc-test-reporter format-coverage --input-type clover coverage/clover.xml
./cc-test-reporter upload-coverage
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
- name: Upload coverage to Codecov
run: |
curl --remote-name https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --file coverage/coverage-final.json
- run: npm run test:e2e:stubs
- run: npm run test:e2e:marvel.com
- run: npm run audit
- name: Upload Lighthouse report
uses: actions/upload-artifact@v3
with:
name: lighthouse-node-v${{matrix.node-version}}
path: lighthouse