Add support for multiple delimiters #2306
Workflow file for this run
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: | |
branches: # Array of patterns that match refs/heads | |
- main # Push events on main branch | |
pull_request: # Specify a second event with pattern matching | |
env: | |
CI: true | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 21.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore Dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node-${{matrix.node-version}}- | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run jest | |
- run: npm run examples | |
- run: npm run benchmarks | |
- name: Coveralls GitHub Action | |
# Per Actions best practices, SHA is the safest for third party actions | |
# https://github.com/coverallsapp/github-action/releases/tag/v2.3.4 | |
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: run-unit-${{ matrix.node-version }} | |
parallel: true | |
finish: | |
needs: unit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
# Per Actions best practices, SHA is the safest for third party actions | |
# https://github.com/coverallsapp/github-action/releases/tag/v2.3.4 | |
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 | |
with: | |
github-token: ${{ secrets.github_token }} | |
parallel-finished: true |