Skip to content

Added overrides to vulnerabilities (#130) #69

Added overrides to vulnerabilities (#130)

Added overrides to vulnerabilities (#130) #69

Workflow file for this run

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
env:
NODE_VERSION: 20.x
PNPM_VERSION: 9
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
# - name: Lint checking
# run: pnpm lint
- name: Run unit tests
run: pnpm test
- name: Build
run: pnpm build