Skip to content

fix: Run action when opening PR #3

fix: Run action when opening PR

fix: Run action when opening PR #3

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:
types:
- opened
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