feat: key generation utilities, utf8 normalization, API improvements #90
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: Lint, Build, and Test Libauth | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18, latest] | |
name: Test Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn install --immutable --immutable-cache | |
- run: yarn test | |
build-and-test-with-coverage: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [20] | |
name: Test Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn install --immutable --immutable-cache | |
- run: yarn test | |
- name: Upload test coverage | |
uses: codecov/codecov-action@v3 | |
check-yarn-cache: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: yarn install --immutable --immutable-cache --check-cache |