|
|
@ -10,17 +10,25 @@ permissions: |
|
|
packages: write |
|
|
packages: write |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
build-and-package: |
|
|
cache-build-and-package: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- name: Checkout code |
|
|
- name: Checkout code |
|
|
uses: actions/checkout@v4 |
|
|
uses: actions/checkout@v4 |
|
|
|
|
|
|
|
|
|
|
|
- name: Install Node.js |
|
|
|
|
|
uses: actions/setup-node@v4 |
|
|
|
|
|
with: |
|
|
|
|
|
node-version: 20 |
|
|
|
|
|
cache: 'pnpm' |
|
|
|
|
|
|
|
|
- name: Setup pnpm |
|
|
- name: Setup pnpm |
|
|
uses: pnpm/action-setup@v4 |
|
|
uses: pnpm/action-setup@v4 |
|
|
|
|
|
with: |
|
|
|
|
|
version: latest |
|
|
|
|
|
|
|
|
- name: Install Dependencies |
|
|
- name: Install Dependencies |
|
|
run: pnpm install |
|
|
run: pnpm install --frozen-lockfile |
|
|
|
|
|
|
|
|
- name: Build Package |
|
|
- name: Build Package |
|
|
run: pnpm build |
|
|
run: pnpm build |
|
|
|