chore(deps-dev): bump @nuxt/ui from 3.0.2 to 3.3.2 #839
Workflow file for this run
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths-ignore: | |
- 'docs/**' | |
- '.github/workflows/docs.yml' | |
pull_request: | |
branches: | |
- main | |
- dev | |
paths-ignore: | |
- 'docs/**' | |
- '.github/workflows/docs.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [20] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: ${{ matrix.node }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm-${{ runner.os }}- | |
- name: Install dependencies | |
run: pnpm install | |
- run: pnpm dev:prepare | |
- name: Build | |
run: pnpm build | |
- name: Build Playground | |
run: pnpm dev:build | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: ./dist | |
lint: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [20] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: ${{ matrix.node }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm-${{ runner.os }}- | |
- name: Install dependencies | |
run: pnpm install | |
- run: pnpm dev:prepare | |
- name: Lint | |
run: pnpm lint | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [20] | |
os: [ubuntu-latest] | |
fail-fast: true | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: ${{ matrix.node }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm-${{ runner.os }}- | |
- name: Install dependencies | |
run: pnpm install | |
- run: pnpm dev:prepare | |
- name: Run Tests | |
run: pnpm test -- --coverage | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: codecov/codecov-action@v5 | |
release-build: | |
if: | | |
github.event_name == 'push' && | |
github.ref == 'refs/heads/main' && | |
!contains(github.event.head_commit.message, 'chore') && | |
!contains(github.event.head_commit.message, 'docs') | |
needs: | |
- lint | |
- test | |
- build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- run: yes | npx bumpp package.json | |
pre-release: | |
name: Pre-Release | |
if: (github.ref == 'refs/heads/dev' || github.event.pull_request.base.ref == 'dev') | |
needs: | |
- lint | |
- test | |
- build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: ${{ matrix.node }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm-${{ runner.os }}- | |
- name: Install dependencies | |
run: pnpm install | |
- run: pnpm dev:prepare | |
- name: Annotate | |
run: echo "::notice ::Pre-release build from commit $GITHUB_SHA" | |
- name: Publish with pkg.pr.new (pre-release) | |
run: pnpx pkg-pr-new publish --comment=update |