123456789101112131415161718192021222324252627282930313233343536 |
- name: Test build
- on:
- pull_request:
- types: [ opened, reopened ]
- env:
- NODE: 20
- permissions:
- contents: read
- jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - name: Clone repository
- uses: actions/checkout@v4
- - name: Set up Node.js
- uses: actions/setup-node@v4
- with:
- node-version: "${{ env.NODE }}"
- - name: Install PNPM
- uses: pnpm/action-setup@v4
- with:
- version: 8
- - run: node --version
- - name: Install pnpm dependencies
- run: pnpm install
- - name: Build
- run: pnpm run build
|