registry-sdk/.gitea/workflows/on-pr.yaml
Isha Venikar f51b31b954
Remove message field from onboardParticipant message and add build workflow (#7)
* Remove message field from onboardParticipant message

* Add a workflow to run lint and build

---------

Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-07-05 11:25:33 +05:30

24 lines
513 B
YAML

name: Lint & Build
on:
pull_request:
jobs:
lint_and_build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
- run: yarn
- name: Run lint
run: yarn lint
- name: Run build
run: yarn build