[GitHub Dependents Info] Updated markdown file(s) (#46) #428
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: Test | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
test_linux: | |
name: Test - Ubuntu Node 16 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "18.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install dependencies and link | |
run: npm ci && npm link | |
- name: Run tests | |
run: npm run test:coverage | |
- name: Submitting code coverage to codecov | |
run: | | |
./node_modules/.bin/nyc report --reporter text-lcov > coverage.lcov | |
curl -s https://codecov.io/bash | bash | |
test_windows: | |
name: Test - Windows | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "18.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install dependencies and link | |
run: npm ci && npm link | |
- name: Run tests | |
run: npm run test | |
test_mac: | |
name: Test - MacOs | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "18.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install dependencies and link | |
run: npm ci && npm link | |
- name: Run tests | |
run: npm run test |