Skip to content

Merge pull request #82 from node-red-contrib/dependabot/github_action… #26

Merge pull request #82 from node-red-contrib/dependabot/github_action…

Merge pull request #82 from node-red-contrib/dependabot/github_action… #26

Workflow file for this run

name: compile
on:
push:
branches: [ main ]
paths:
- 'src/**'
- '.github/workflows/compile.yml'
pull_request:
branches: [ main ]
paths:
- 'src/**'
- '.github/workflows/compile.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 15.x
- name: compile
run: |
npm ci
npm run build --if-present