Using payment intents to make payments #14
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
name: PR Code Check | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
environment: | |
name: development | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '21.1.0' | |
- name: Install dependencies | |
run: npm install | |
- name: Linting check | |
run: npm run lint | |
- name: TypeScript check | |
run: npm run type-check | |
- name: Build Next.js app | |
env: | |
NEXT_PUBLIC_GRAPHQL_ENDPOINT: ${{ vars.GRAPHQL_ENDPOINT }} | |
run: npm run build | |
- name: Success | |
run: echo "🚧 Build successful 🚧" |