mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-14 20:41:15 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
524 B
YAML
23 lines
524 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: yarn install
|
|
- run: |
|
|
set -o pipefail
|
|
mkdir -p ./pr
|
|
echo ${{ github.event.number }} | tee ./pr/number
|
|
yarn all |& tee ./pr/all_result
|
|
- uses: actions/upload-artifact@v3
|
|
if: ${{ github.event_name == 'pull_request' && (success() || failure()) }}
|
|
with:
|
|
name: all
|
|
path: pr/
|