build(deps): bump next-themes from 0.3.0 to 0.4.3 #206
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: Pull Request Checks | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
env: | |
NODE_VERSION: 20.11.0 | |
jobs: | |
linting: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Continuous integration | |
uses: ./.github/actions/ci-setup | |
- name: Lint Application | |
run: npm run lint | |
type-check: | |
name: Types | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Continuous Integration | |
uses: ./.github/actions/ci-setup | |
- name: Check Application Types | |
run: npm run type-check | |
build: | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Continuous Integration | |
uses: ./.github/actions/ci-setup | |
- name: Copy Env File | |
run: cp .env.example .env | |
- name: Build Application | |
run: npm run build | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Npm Clean Install | |
run: npm ci | |
- name: Copy Env File | |
run: cp .env.example .env | |
- name: Run Cypress Tests | |
uses: cypress-io/github-action@v6 | |
with: | |
headed: true | |
browser: chrome | |
project: . | |
record: false | |
install: false | |
build: npm run build | |
start: npm run start | |
wait-on: "http://localhost:3000" | |
config: video=false,screenshotOnRunFailure=false |