This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
feat: use shadow_authors
to provide author name for publication aft…
#1423
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 | |
- name: Cache Nx | |
uses: actions/cache@v3 | |
with: | |
path: node_modules/.cache/nx | |
key: cache-nx-${{ hashFiles('yarn.lock') }}-${{ github.sha }} | |
restore-keys: | | |
cache-nx-${{ hashFiles('yarn.lock') }}- | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: yarn | |
- run: yarn install --inline-builds | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: yarn build | |
- run: yarn test |