Skip to content

Bump the chai-dependencies group across 1 directory with 3 updates (#… #1728

Bump the chai-dependencies group across 1 directory with 3 updates (#…

Bump the chai-dependencies group across 1 directory with 3 updates (#… #1728

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Build & test (Windows)
on:
push:
branches:
- main
- temp-main
pull_request:
branches: [ "main", "temp-main" ]
jobs:
build:
runs-on: cyberismo_windows_x64
strategy:
matrix:
node-version: [20.x]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.12
auto-update-conda: true
activate-environment: cyberismo
environment-file: environment.yml
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
registry-url: 'https://npm.pkg.github.com'
scope: '@cyberismocom'
- name: Checkout module-base repository for testing purposes
uses: actions/checkout@v4
with:
repository: CyberismoCom/module-base
path: .tmp/module-base
ref: main
- name: Checkout cyberismo-docs repository for testing purposes
uses: actions/checkout@v4
with:
repository: CyberismoCom/cyberismo-docs
path: .tmp/cyberismo-docs
ref: main
- run: pnpm install
- run: pnpm --filter=app exec cypress install
- run: pnpm build
- run: pnpm link --global
- run: pnpm test