Skip to content

[Feature] use users endpoits #82

[Feature] use users endpoits

[Feature] use users endpoits #82

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
build:
environment: Production
runs-on: ubuntu-latest
env:
NODE_ENV: production
NEXT_PUBLIC_BASE_URL: ${{ secrets.NEXT_PUBLIC_BASE_URL }}
BASE_API_URL: ${{ secrets.BASE_API_URL }}
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: npm run build
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: next-build
path: .next/