Bump @types/yargs from 17.0.24 to 17.0.25 #8153
Workflow file for this run
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: 'build-test' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run all | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: dist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: action.yml | |
path: action.yml | |
test: # make sure the action works on a clean machine without building | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: dist | |
path: dist | |
- uses: actions/download-artifact@v3 | |
with: | |
name: action.yml | |
path: . | |
- uses: ./ | |
with: | |
token: ${{ github.token }} | |
trigger-labels: does-not-exist | |
workflow: pull-requests-fail.yml | |
package: | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: dist | |
path: dist | |
- uses: peter-evans/create-pull-request@157a260267a0ab6157397a7d2129ee9a3eea85ec | |
with: | |
commit-message: Update distribution. | |
title: Update distribution. | |
body: | | |
Update the distribution with changes in `main` branch. | |
branch: update-distribution |