conda init #9
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: build_frontend | |
on: | |
push: | |
paths-ignore: | |
- 'package/**' | |
pull_request: | |
paths-ignore: | |
- 'package/**' | |
workflow_dispatch: | |
env: | |
AWS_REGION: xxxxst-2 | |
CACHE_VERSION: xxxx | |
NPM_TOKEN: xxxx5775 | |
SNYK_TOKEN: xxxxa727 | |
TWINE_NON_INTERACTIVE: xxxx | |
TWINE_PASSWORD: xxxxi3Xc | |
TWINE_REPOSITORY_URL: xxxxacy/ | |
TWINE_USERNAME: xxxxen__ | |
jobs: | |
javascript_lint_and_tests: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/python:3.9-node | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/setup_python_env" | |
- uses: "./.github/actions/install_node_dependencies" | |
- uses: "./.github/actions/setup_cypress_requirements" | |
- name: Test lib transpilation | |
run: npm run lib | |
- name: Test JS library imports | |
run: |- | |
npm run lib-test:setup | |
cd tools/test-lib/react-app | |
npm run test:ci | |
- name: Run Eslint | |
run: npm run lint | |
- name: Run JavaScript tests | |
run: npm run test:ci | |
- name: Run Javascript end to end tests | |
run: npm run cy:ci |