mirror of
https://github.com/actions/labeler.git
synced 2025-12-24 20:14:26 +08:00
24 lines
452 B
YAML
24 lines
452 B
YAML
# Fails if any of dist/index.js needs to be rebuilt
|
|
|
|
name: Check dist/index.js
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- check_dist
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- check_dist
|
|
|
|
jobs:
|
|
check_dist:
|
|
runs-on: ubuntu-latest
|
|
name: Check dist/index.js for diffs
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- run: npm install
|
|
- run: npm run build
|
|
- run: "${GITHUB_WORKSPACE}/.github/workflows/check_dist.sh"
|