This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
chore(deps): update dependency node to v20 #2096
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: Unit Test | |
on: [push] | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
name: Test | |
env: | |
NODE_OPTIONS: --max-old-space-size=6144 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Cache Moonrepo | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.moon/cache/hashes | |
.moon/cache/outputs | |
key: cache-moon-${{ github.sha }} | |
restore-keys: | | |
cache-moon- | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: yarn | |
- uses: moonrepo/setup-toolchain@v0 | |
- run: moon ci karbon-mono:test | |
- uses: moonrepo/run-report-action@v1 | |
if: success() || failure() | |
with: | |
access-token: ${{ secrets.GITHUB_TOKEN }} |