Skip to content

chore(deps-dev): bump ip from 2.0.0 to 2.0.1 #76

chore(deps-dev): bump ip from 2.0.0 to 2.0.1

chore(deps-dev): bump ip from 2.0.0 to 2.0.1 #76

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
name: build
on:
pull_request: {}
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
contents: write
actions: write
env:
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Set git identity
run: |-
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 14.17.6
- name: Install dependencies
run: npm ci
- name: build
run: npx projen build
- name: Check for changes
id: git_diff
run: git diff --exit-code || echo "::set-output name=has_changes::true"
- if: steps.git_diff.outputs.has_changes
name: Commit and push changes (if changed)
run: 'git add . && git commit -m "chore: self mutation" && git push origin
HEAD:${{ github.event.pull_request.head.ref }}'
- if: steps.git_diff.outputs.has_changes
name: Update status check (if changed)
run: gh api -X POST /repos/${{ github.event.pull_request.head.repo.full_name
}}/check-runs -F name="build" -F head_sha="$(git rev-parse HEAD)" -F
status="completed" -F conclusion="success"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: steps.git_diff.outputs.has_changes
name: Cancel workflow (if changed)
run: gh api -X POST /repos/${{ github.event.pull_request.head.repo.full_name
}}/actions/runs/${{ github.run_id }}/cancel
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
container:
image: jsii/superchain:1-buster-slim-node14