frontend: new device onboarding test #71
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: Validate + Test Site code | |
on: | |
push: | |
branches: | |
- master | |
- electron-ci | |
paths: | |
- ".github/workflows/validate-site.yml" | |
- "frontend/apps/site/**" | |
- "frotend/packages/shared/**" | |
- "frotend/packages/ui/**" | |
- "package.json" | |
- "frontend/apps/site/package.json" | |
pull_request: | |
paths: | |
- ".github/workflows/validate-site.yml" | |
- "frontend/apps/site/**" | |
- "frotend/packages/**" | |
- "package.json" | |
- "frontend/apps/site/package.json" | |
branches-ignore: | |
- "renovate/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate-test-site: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
- name: Install Frontend Dependencies | |
env: | |
YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
run: | | |
yarn | |
- name: Validate Code | |
run: | | |
yarn validate | |
- name: Run Site tests | |
run: yarn site:test |