mirror of
https://github.com/tabler/tabler.git
synced 2025-12-25 11:29:57 +04:00
44 lines
761 B
YAML
44 lines
761 B
YAML
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
|
|
|
|
- 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
|