Skip to content

[Feature] use users endpoits #81

[Feature] use users endpoits

[Feature] use users endpoits #81

Workflow file for this run

name: PR Build and Test
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and install dependencies
uses: ./.github/actions/setup-node-and-install
with:
node-version: 20
- name: Lint test
run: |
npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and install dependencies
uses: ./.github/actions/setup-node-and-install
with:
node-version: 20
- name: Typecheck test
run: |
npm run type-check
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and install dependencies
uses: ./.github/actions/setup-node-and-install
with:
node-version: 20
- name: Build app
run: |
touch .env.local
echo NEXT_PUBLIC_BASE_URL=${{ secrets.NEXT_PUBLIC_BASE_URL }} >> .env.local
echo BASE_API_URL=${{ secrets.BASE_API_URL }} >> .env.local
npm run build
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: next-build
path: .next/