Warn users when they leave the playground without saving a variant #237
Workflow file for this run
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: Lint and Types | |
on: | |
pull_request: | |
paths: | |
- "agenta-web/**" | |
jobs: | |
lint_and_types: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
working-directory: agenta-web | |
- name: Run Lint | |
run: npm run lint | |
working-directory: agenta-web | |
- name: Type Check | |
run: npm run types:check | |
working-directory: agenta-web |