2022-05-02 13:59:11 +00:00
|
|
|
name: Testing
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-05-02 14:12:01 +00:00
|
|
|
- dev
|
2022-05-02 13:59:11 +00:00
|
|
|
pull_request:
|
2022-05-02 14:12:01 +00:00
|
|
|
types: [opened, reopened, synchronize]
|
2022-05-02 13:59:11 +00:00
|
|
|
|
|
|
|
permissions: read-all
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install Node.js
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
|
|
|
|
- name: Install Yarn packages
|
|
|
|
run: yarn install
|
|
|
|
|
|
|
|
- name: Build project
|
|
|
|
run: yarn build
|