123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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@v3
- - name: Set up Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "${{ env.NODE }}"
- cache: pnpm
- - name: Install PNPM
- run: npm i -g pnpm
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: 2.6
- bundler-cache: true
- - run: ruby --version
- - run: node --version
- - name: Install pnpm dependencies
- run: pnpm install
- - name: Build
- run: pnpm run build
|