Skip to content

Eslint disable

Eslint disable #65

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
paths:
- .github/**
- src/**
- index.html
- vite.config.ts
jobs:
deploy:
name: Deploy to Github Pages
permissions:
pages: write
runs-on: ubuntu-latest
env:
OPEN_WEATHER_API_KEY: ${{ secrets.OPEN_WEATHER_API_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Validate
run: |
yarn
yarn typecheck
yarn check-format
yarn lint
yarn test
- name: Build
run: |
yarn tailwind
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: dist