Skip to content

ci: 🚀 Setup github actions to run build when opening PR #1

ci: 🚀 Setup github actions to run build when opening PR

ci: 🚀 Setup github actions to run build when opening PR #1

Workflow file for this run

name: Build package on PR opening

Check failure on line 1 in .github/workflows/build_on_pr.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_on_pr.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build
on:
pull_request:
branches:
- develop
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install dependencies
run: npm install
- name: Run pre-commit script
run: npm run pre-commit