generated from posva/vite-tailwind-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Linting & e2e tests | ||
|
||
on: push | ||
|
||
jobs: | ||
lint-and-test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
# Install npm dependencies, cache them correctly | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
# just perform install | ||
runTests: false | ||
- name: Lint with ESLint | ||
run: yarn lint --quiet # only raise errors | ||
- name: Run e2e tests | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
# we have already installed all dependencies above | ||
install: false | ||
# run server in the background | ||
start: yarn dev |
This file was deleted.
Oops, something went wrong.