Skip to content

feat: test pr workflow (wip) #5

feat: test pr workflow (wip)

feat: test pr workflow (wip) #5

Workflow file for this run

name: pr
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: Build production bundle
uses: borales/actions-yarn@v4
with:
cmd: start
- name: Update resources
uses: test-room-7/action-update-file@v1
with:
file-path: ${{github.workspace}}/registry.json
allow-removing: true
commit-msg: Update registry
github-token: ${{ secrets.GITHUB_TOKEN }}