Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Monorepo Refactor

Monorepo Refactor #47

Workflow file for this run

name: Continuous Integration
on:
workflow_call:
pull_request:
push:
branches:
- main
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- name: Use pnpm 8.x
uses: pnpm/action-setup@v2
with:
version: 8.x
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Build
run: pnpm build
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: ./dist