Skip to content

build: update deps and bump version to v3.7.1 #309

build: update deps and bump version to v3.7.1

build: update deps and bump version to v3.7.1 #309

Workflow file for this run

name: build & test
on:
push:
branches:
- main
paths-ignore:
- ".github/**"
- "README.md"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache@v3
with:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: install dependencies
run: pnpm install --config.arch=x64 --config.platform=linux --config.libc=glibc
- name: lint
run: pnpm run lint
- name: generate icons
run: pnpm run generate:icons
- name: run tests
run: pnpm run test:ci
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: run FOSSA scan
uses: fossa-contrib/fossa-action@v3
with:
fossa-api-key: ${{ secrets.FOSSA_API_KEY }}