feat: upgrade cookie dependency and cleanup imports #120
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: ["*"] | |
jobs: | |
lint: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
- run: npm ci | |
- name: Prettier | |
run: | | |
npx prettier --check . | |
- name: eslint | |
run: | | |
npx eslint | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
- run: npm ci | |
- name: Build | |
run: | | |
npm run build | |
- name: Test | |
run: | | |
npm run test |