Skip to content

chore(deps): update node.js to v20.15.0 - autoclosed #889

chore(deps): update node.js to v20.15.0 - autoclosed

chore(deps): update node.js to v20.15.0 - autoclosed #889

Workflow file for this run

name: Unit Test
on: [pull_request]
jobs:
unit-test:
runs-on: [self-hosted]
name: Test
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: moonrepo/setup-toolchain@v0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Cache Moonrepo
uses: actions/cache@v4
with:
path: |
.moon/cache/hashes
.moon/cache/outputs
key: cache-moon-${{ github.sha }}
restore-keys: |
cache-moon-
- run: moon ci :build
- uses: moonrepo/run-report-action@v1
if: success() || failure()
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
- run: moon run :test-coverage
- uses: actions/cache/restore@v4
with:
key: base-coverage-${{ github.run_id }}
path: |
./coverage/base.info
restore-keys: |
base-coverage-
base-coverage
- name: Generate Code Coverage report
id: code-coverage
uses: barecheck/code-coverage-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info
base-lcov-file: ./coverage/base.info
send-summary-comment: true
show-annotations: warning
- run: yarn install
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: minify
skip_step: install