Skip to content

chore: update env pr-check and remove nextjs yml #2

chore: update env pr-check and remove nextjs yml

chore: update env pr-check and remove nextjs yml #2

Workflow file for this run

name: Pull Request Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
checking-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Test
run: |
yarn install
yarn pr-check
env:
NEXT_PUBLIC_NODE_ENV: production
NEXT_PUBLIC_GOOGLE_SEARCH_CONSOLE_API_KEY: ${{ secrets.GOOGLE_SEARCH_CONSOLE_API_KEY }}
NEXT_PUBLIC_GOOGLE_ADSENSE_CLIENT_ID: ${{ secrets.GOOGLE_ADSENSE_CLIENT_ID }}
NEXT_PUBLIC_WEBSITE_DNS_NAME: ${{ secrets.WEBSITE_DNS_NAME }}
NEXT_PUBLIC_WEBSITE_URL: ${{ secrets.WEBSITE_URL }}