Corrected all misspellings of the word couldn't throughout the source… #418
This file contains hidden or 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: main | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build-and-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- version: 16.x | |
# - version: 18.x | |
# env: NODE_OPTIONS=--openssl-legacy-provider | |
- version: 20.x | |
env: NODE_OPTIONS=--openssl-legacy-provider | |
- version: 22.x | |
env: NODE_OPTIONS=--openssl-legacy-provider | |
runs-on: ubuntu-22.04 | |
name: Tests on Node.js v${{ matrix.node.version }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node.version }} | |
- name: Download deps | |
uses: bahmutov/npm-install@v1 | |
- name: Build sources | |
run: ${{ matrix.node.env }} npm run build | |
- name: Run tests | |
run: ${{ matrix.node.env }} npm run test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "22.x" | |
- name: Download deps | |
uses: bahmutov/npm-install@v1 | |
- name: Run lint | |
run: npm run lint |