Skip to content

投稿フォームをスタイリングした #66

投稿フォームをスタイリングした

投稿フォームをスタイリングした #66

Workflow file for this run

name: Continuous Integration Pipeline
on:
pull_request:
workflow_dispatch:
jobs:
build_node_18:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'
- name: Run npm audit
run: npm audit --production --audit-level=moderate
- name: Install dependencies
run: npm ci
- name: Run Jest unit tests
env:
SESSION_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY }}
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
TEST_FIREBASE_API_KEY: ${{ secrets.TEST_FIREBASE_API_KEY }}
TEST_DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
run: npm run test
- name: Run Jest infrastructure tests
env:
SESSION_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY }}
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
TEST_FIREBASE_API_KEY: ${{ secrets.TEST_FIREBASE_API_KEY }}
TEST_DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
run: npm run test:infra
# build_node_20:
# needs: build_node_18
# runs-on: ubuntu-latest
# environment:
# name: develop
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js 20.x
# uses: actions/setup-node@v4
# with:
# node-version: 20.x
# cache: 'npm'
# - name: Run npm audit
# run: npm audit --production --audit-level=moderate
# - name: Install dependencies
# run: npm ci
# - name: Run Jest unit tests
# env:
# SESSION_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY }}
# FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
# DATABASE_URL: ${{ secrets.DATABASE_URL }}
# TEST_FIREBASE_API_KEY: ${{ secrets.TEST_FIREBASE_API_KEY }}
# TEST_DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
# run: npm run test
# - name: Run Jest infrastructure tests
# env:
# SESSION_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY }}
# FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
# DATABASE_URL: ${{ secrets.DATABASE_URL }}
# TEST_FIREBASE_API_KEY: ${{ secrets.TEST_FIREBASE_API_KEY }}
# TEST_DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
# run: npm run test:infra