1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-27 03:54:57 +04:00
Files
tabler/.github/workflows/test.yml
2022-01-18 22:19:43 +01:00

37 lines
645 B
YAML

name: Test build
on:
pull_request:
types: [ opened, reopened ]
env:
NODE: 14
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
cache: npm
- 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 npm dependencies
run: npm ci
- name: Build
run: npm run build