Skip to content

build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.3 #28

build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.3

build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.3 #28

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- run: yarn install
- run: |
set -o pipefail
mkdir -p ./pr
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "all_result<<$EOF" >> "$GITHUB_ENV"
yarn all >> "$GITHUB_ENV" 2>&1 || true # proceed even if yarn fails
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline
echo "$EOF" >> "$GITHUB_ENV"
id: all
- uses: ./
if: ${{ github.event_name == 'pull_request' }}
with:
header: All
message: |
<details open>
<summary>Output of yarn all</summary>
```shell
${{ env.all_result }}
```
</details>
- uses: ./
if: ${{ github.event_name == 'pull_request' }}
with:
header: All
append: true
hide_details: true
message: |
The build is over.
- name: Lint
run: npm run lint
- name: Format Check
run: npm run format-check