NickAkhmetov/CAT-736 Convert sample detail page to TSX (#3592) #3098
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: 🌲🔧 Cypress Maintenance CI | |
on: | |
push: | |
branches: [main] | |
pull_request: {} | |
jobs: | |
build: | |
# Available versions: | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: ".python-version" | |
architecture: "x64" | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "npm" | |
cache-dependency-path: | | |
context/package-lock.json | |
end-to-end/package-lock.json | |
- run: npm --version | |
- name: Install maintenance build node dependencies | |
run: npm ci --prefix context | |
- name: Install cypress node dependencies | |
run: npm ci --prefix end-to-end | |
- name: Set up git config to make dev-start.sh happy | |
run: git config --global submodule.recurse true | |
- name: Run test script | |
run: etc/test/test-cypress.sh maintenance | |
env: | |
GH_ACTIONS_BRANCH: ${{ github.ref }} | |
GH_ACTIONS: true |