Merge pull request #30 from rancher/add-gh-action

Add GitHub action to check build on PR
This commit is contained in:
Neil MacDougall 2023-02-22 10:41:58 +00:00 committed by GitHub
commit 804941be43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
.github/workflows/pr-build-check.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: check-build
on:
pull_request:
branches:
- master
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Validate build
run: |
yarn install
yarn run build