停止予定の Newt FormApp に備え、最新のイベント年のフォームへ回遊を促す文言を追加 #17
This file contains hidden or 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: Node.js CI | |
on: | |
# push: | |
# branches: | |
# - main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.16.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages | |
uses: ./.github/actions/install-packages | |
- name: Lint check | |
run: pnpm lint | |
typecheck: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.16.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages | |
uses: ./.github/actions/install-packages | |
- name: Type check | |
run: pnpm typecheck | |
unit-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.16.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages | |
uses: ./.github/actions/install-packages | |
- name: Unit test | |
run: pnpm vitest | |
integration-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.16.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages | |
uses: ./.github/actions/install-packages | |
- name: Integration test | |
run: pnpm cypress:ci | |
env: | |
SUPABASE_URL: ${{ secrets.NUXT_SUPABASE_PROJECT_URL }} | |
SUPABASE_KEY: ${{ secrets.NUXT_SUPABASE_API_KEY }} | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: cypress videos | |
path: ./tests/cypress/videos |