Skip to content

:ci: fix ci not run when pr opend (#2) #13

:ci: fix ci not run when pr opend (#2)

:ci: fix ci not run when pr opend (#2) #13

Workflow file for this run

name: CI
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
jobs:
build:
name: Build Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Lint
uses: borales/actions-yarn@v4
with:
cmd: lint
- name: Jest Test
uses: borales/actions-yarn@v4
with:
cmd: test
- name: Build
uses: borales/actions-yarn@v4
with:
cmd: build