Skip to content

Frontend Pull Request Check #1

Frontend Pull Request Check

Frontend Pull Request Check #1

name: Frontend Pull Request Check
on:
pull_request:
branches: [ main ]
paths:
- 'frontend/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Cd to the directory to test
working-directory: ./frontend/typescript
run: |
npm install
npm run pr-check