Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

chore: add github action to validate PR's #1

chore: add github action to validate PR's

chore: add github action to validate PR's #1

Workflow file for this run

name: Validate a pull request
on:
pull_request:
branches:
- main
workflow_dispatch: { }
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run linter
run: yarn lint
- name: Build
run: yarn build