12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- name: Test build
- on:
- pull_request:
- types: [ opened, reopened ]
- env:
- NODE: 18
- 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
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: 3.2
- bundler-cache: true
- - run: ruby --version
- - run: node --version
- - name: Install pnpm dependencies
- run: pnpm install
- - name: Build
- run: pnpm run build
|