Merge pull request #27 from AnastasiaSliusar/fix-bugs-release-memory #20
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
environment-name: untarjs | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build untarjs | |
run: | | |
micromamba activate untarjs | |
yarn run build:prod | |
- name: Run eslint | |
run: | | |
micromamba activate untarjs | |
yarn run eslint | |
- name: Run test | |
run: | | |
micromamba activate untarjs | |
yarn run test |