Skip to content

chore(all): update dependencies with vulnerabilities (#342) #386

chore(all): update dependencies with vulnerabilities (#342)

chore(all): update dependencies with vulnerabilities (#342) #386

Workflow file for this run

name: Unit tests
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
HUSKY: 0
jobs:
tests:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
steps:
- name: Fetch Sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Enable Corepack
if: matrix.os == 'windows-latest'
run: corepack enable --install-directory 'C:\npm\prefix'
- name: Enable Corepack
if: matrix.os != 'windows-latest'
run: corepack enable
- name: Setup Node.js 22.x
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22.x
cache: "yarn"
- name: Install dependencies
env:
YARN_ENABLE_HARDENED_MODE: false
run: yarn install --immutable
- name: Build Extension
run: yarn build
- name: Run unit tests
run: yarn test