fix(build): remove declarations
to reduce chunk size
#185
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: Publish nuxt-component-meta (Nightly) | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
nightly: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
runs-on: ${{ matrix.os }} | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 # v4 | |
- name: Add pnpm | |
run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: "https://registry.npmjs.org/" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Prepare | |
run: pnpm dev:prepare | |
- name: Test | |
run: pnpm test | |
- name: Release Nightly | |
run: pnpm changelogen --bump --canary --publish --publishTag nightly | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
NPM_CONFIG_PROVENANCE: true |