Skip to content

Autotests: #5951 - autotests zoom in macromolecules mode should be in relation to the top left corner of the structures 1 #8851

Autotests: #5951 - autotests zoom in macromolecules mode should be in relation to the top left corner of the structures 1

Autotests: #5951 - autotests zoom in macromolecules mode should be in relation to the top left corner of the structures 1 #8851

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches:
- master
- 'release/**'
pull_request:
branches:
- master
- 'release/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.14.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Get npm cache directory path
id: npm-cache-dir-path
run: echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v4
id: npm-cache # use this to check for `cache-hit` (`steps.npm-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.npm-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install Dependencies
run: npm install
- name: Run audit
run: npm audit --all --audit-level=critical
- name: Run build
run: npx cross-env CI=false npm run build
- name: Run tests
run: npm test
env:
CI: true