Skip to content

Test PR test result comment #108

Test PR test result comment

Test PR test result comment #108

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Tests
on:
pull_request:
branches: [develop, main]
permissions:
contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm ci
- name: Run extension tests
run: xvfb-run -a npm test
- name: Comment Test Results to PR
run: npx github-actions-ctrf ctrf/ctrf-report.json --pr-comment
if: always()