This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Merge pull request #333 from Support-pl/dependabot/npm_and_yarn/ui/ax… #140
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
# This is a basic workflow to help you get started with Actions | |
name: Check UI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'ui/**' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'ui/**' | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: ./ui | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
check-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
- name: Dependencies | |
run: npm install | |
- name: Test Lint | |
run: npm run lint | |
- name: Test Build | |
run: npm run build |