Bump @eslint/js from 9.13.0 to 9.16.0 #162
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: Pull request tests | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: [main] | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
env: | |
CONDA_SOLVER: libmamba | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up conda env | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: nc_data_lib | |
environment-file: ./conda-env.yml | |
auto-activate-base: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc # Read the Node.js version from .nvmrc | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test | |
#This won't be OK for long db generation | |
- name: Generate database with NCrystal | |
run: npm run generate-data | |
- name: Build dev | |
run: npm run build-dev | |
- name: Build prod | |
run: npm run build-prod |