Skip to content

fix(deps): update dependency jose to v4.15.4 (#275) #2123

fix(deps): update dependency jose to v4.15.4 (#275)

fix(deps): update dependency jose to v4.15.4 (#275) #2123

Workflow file for this run

name: CI
on: push
env:
NODE_VERSION: 16.14
jobs:
build:
name: πŸ‘· Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Building
run: npm run build
env:
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Examples - es6
run: cd examples/es6 && npm i && npm run build
- name: Examples - common
run: cd examples/commonjs && npm i
- name: Examples - Management CLI
run: cd examples/managementCli && npm i && npm run build
eslint:
name: πŸͺ₯ ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- run: npm run format-check
- run: npm run lint
gitleaks:
name: πŸ”’ Run Git leaks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Gitleaks
run: npm run leaks
shell: bash
unit-test:
name: πŸ‘” Run Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
version: [12, 14, 16, 18]
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Testing
run: npm test
- name: Coverage check
uses: devmasx/[email protected]
with:
type: lcov
min_coverage: 95
result_path: coverage/lcov.info
token: ${{ github.token }}