ci: test workflow_run

This commit is contained in:
marocchino 2021-03-22 10:24:22 +09:00
parent 56ac27318d
commit 58da41abb9
No known key found for this signature in database
GPG key ID: AFF521DBDB122570
3 changed files with 37 additions and 18 deletions

View file

@ -11,4 +11,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run all
- run: |
mkdir -p ./pr
echo ${{ github.event.number }} | tee ./pr/number
npm run all | tee ./pr/all_result
- uses: actions/upload-artifact@v2
if: ${{ github.event_name == 'pull_request' }}
with:
name: all
path: pr/