[Snyk] Security upgrade vitest from 1.6.0 to 2.1.0 #333
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Desktop Package and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'Src/WitsmlExplorer.Api/**' | |
- 'Src/WitsmlExplorer.Frontend/**' | |
- 'Src/WitsmlExplorer.Desktop/**' | |
permissions: {} | |
jobs: | |
desktop: | |
name: Package and Test | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: yarn --network-timeout 100000 | |
working-directory: ./Src/WitsmlExplorer.Desktop | |
- name: Linting | |
run: yarn lint | |
working-directory: ./Src/WitsmlExplorer.Desktop | |
- name: Package | |
run: yarn electron:pack | |
working-directory: ./Src/WitsmlExplorer.Desktop | |
- name: Test | |
run: yarn test:pack | |
working-directory: ./Src/WitsmlExplorer.Desktop |