Add Automated License Check Workflow #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[NPM] monitor-theia" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "node/package-lock.json" | |
- "node/monitor-theia/**" | |
# Publish when a workflow has changed (this is needed to detect version updates) | |
- ".github/workflows/ci-monitor-theia.yml" | |
- ".github/workflows/reusable-npm.yml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "node/package-lock.json" | |
- "node/monitor-theia/**" | |
release: | |
types: | |
- published | |
jobs: | |
run: | |
uses: ./.github/workflows/reusable-npm.yml | |
permissions: | |
contents: read | |
id-token: write | |
with: | |
package_workspace: monitor-theia | |
secrets: | |
npm-token: ${{ secrets.NPM_TOKEN }} |