Update node.js.yml
Attempted fix for CI/CD not running for PRs
This commit is contained in:
11
.github/workflows/node.js.yml
vendored
11
.github/workflows/node.js.yml
vendored
@@ -3,8 +3,15 @@
|
|||||||
|
|
||||||
name: Node.js CI
|
name: Node.js CI
|
||||||
|
|
||||||
# Triggers the workflow on push or pull request events
|
on:
|
||||||
on: [push, pull_request]
|
# Trigger the workflow on push or pull request,
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
# Only on the main branch
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
# These types of PRs
|
||||||
|
types: [assigned, opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user