Merge pull request #1 from canopas/add-vue-and-react-libraries #14
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: Run lint in vue and react | |
on: | |
push: | |
jobs: | |
vue-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- run: | | |
cd vue | |
npm ci | |
npm run lint | |
react-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- run: | | |
cd react | |
npm ci | |
npm run lint |