feat: [EXC-23] CICD and playwright for nextjs passport example #12
Workflow file for this run
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: Build wallets with nextjs passport example | |
on: | |
pull_request: | |
branches: [main, EXC-21-passport-wallets-examples] | |
merge_group: | |
branches: [main, EXC-21-passport-wallets-examples] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest-4-cores | |
env: | |
NODE_OPTIONS: --max-old-space-size=14366 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
registry-url: https://registry.npmjs.org/ | |
cache: "yarn" | |
- name: Install Dependencies | |
run: yarn install --immutable | |
working-directory: ./examples/passport/wallets-with-nextjs | |
- name: Build | |
run: yarn build | |
working-directory: ./examples/passport/wallets-with-nextjs | |
- name: Test | |
run: yarn test | |
working-directory: ./examples/passport/wallets-with-nextjs | |