fix(app): remove unsupported config #933
This file contains 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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [23.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: pnpm | |
- uses: PromptPal/github-action@v1.0.2 | |
env: | |
PROMPTPAL_ENDPOINT: ${{ secrets.PROMPTPAL_ENDPOINT }} | |
PROMPTPAL_API_TOKEN: ${{ secrets.PROMPTPAL_API_TOKEN }} | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
command: pp g | |
- name: Install dependencies | |
run: pnpm install | |
- run: pnpm run codegen | |
- run: pnpm run build # to make sure this version can be build | |
env: | |
GIT_COMMIT: ${{ github.sha }} | |
- name: docker build | |
uses: docker/build-push-action@v6 | |
env: | |
GIT_COMMIT: ${{ github.sha }} | |
PROMPTPAL_CLIENT_API_TOKEN: ${{ secrets.PROMPTPAL_CLIENT_API_TOKEN }} | |
with: | |
context: . | |
push: false | |
build-args: | | |
GIT_COMMIT=${{ github.sha }} | |
NEXT_PUBLIC_PP_TOKEN=${{ env.PROMPTPAL_CLIENT_API_TOKEN }} | |
STANDALONE=1 | |
tags: tests | |
labels: tests | |
- run: pnpm run coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.CODEALLS_REPO_TOKEN }} |