Skip to content

Commit

Permalink
Create a GitHub action to run yarn build on all PRs and pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
jessfraz committed Sep 30, 2024
1 parent fae54e6 commit d055fe2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/yarn-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Yarn Build

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: yarn install

- name: Run yarn build
run: yarn build

0 comments on commit d055fe2

Please sign in to comment.