Merge pull request #175 from unb-mds/Documentation #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR to Main build test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js 20.16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.16 | |
- name: Install Yarn v1.22 | |
run: | | |
npm install -g [email protected] | |
- name: Install dependencies | |
run: yarn | |
- name: Run build test | |
run: yarn build |