Fdc3 for web impl update #68
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: Node.js CI Test | |
# Controls when the workflow will run on any branch | |
on: | |
pull_request: | |
# Define the jobs for this workflow | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: npm test | |
- name: Merge Results 1 | |
run: npm run merge | |
if: always() | |
- name: Merge Results 2 | |
run: npm run merge2 | |
if: always() | |
- name: Report NYC coverage | |
uses: sidx1024/report-nyc-coverage-github-action@v1.2.7 | |
if: always() | |
with: | |
coverage_file: "coverage/complete.json" |