feat: [EXC-23] CICD and playwright for nextjs passport example #7
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] | |
merge_group: | |
branches: [main] | |
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 | |