Skip to content

Bump vitest from 0.25.8 to 0.31.0 in /ahb_viewer #90

Bump vitest from 0.25.8 to 0.31.0 in /ahb_viewer

Bump vitest from 0.25.8 to 0.31.0 in /ahb_viewer #90

Workflow file for this run

name: Build and Test
on:
pull_request: {}
push:
branches: main
jobs:
run-build:
name: Check that the page can be built
strategy:
matrix:
npm-command: ["build"] # todo: add test here once we have tests
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
submodules: true # necessary for the data
ref: ${{ github.event.workflow_run.head_branch }}
token: ${{ secrets.SUBMODULE_ACCESS_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Node.js dependencies
working-directory: "ahb_viewer"
run: npm install
- name: Run ${{ matrix.npm-command }}
working-directory: "ahb_viewer"
run: npm run ${{ matrix.npm-command }}