Skip to content

Update nanoid to address npm audit issues #53

Update nanoid to address npm audit issues

Update nanoid to address npm audit issues #53

Workflow file for this run

name: "CI"
on:
- workflow_dispatch
- push
# For Test Report Step
permissions:
statuses: write
checks: write
contents: read
jobs:
build-lint-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- name: "Install Dependencies 📦"
run: "npm ci"
- name: "Install jq"
run: sudo apt-get update -y && sudo apt-get install -y jq
- name: "Build Packages 🔧"
env:
DOPPLER_DASHBOARD_URL: ${{ secrets.VITE_DOPPLER_DASHBOARD_URL }}
UNIVERSAL_IMPORT_KEYS_URL: ${{ secrets.UNIVERSAL_IMPORT_KEYS_URL }}
# We have a specific github action npm script because the environment variables will already be present via github action secrets
run: "npm run build:github-action"
- name: "Run Linters 🔎"
run: "npm run check"
- name: "Run Tests 🧪"
run: "npm run test:coverage:ci"
- name: "Test Report 📃"
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Test Report # Name of the check run which will be created
path: reports/jest-*.xml # Path to test results
reporter: jest-junit # Format of test results