Skip to content

chore: set compatibilityDate in nuxt.config.ts files #2166

chore: set compatibilityDate in nuxt.config.ts files

chore: set compatibilityDate in nuxt.config.ts files #2166

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Keep this in sync with the oldest Node.js version supported by the storybook
node: [18, 20]
os: [ubuntu-latest, windows-latest, macos-latest]
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:coverage
- name: Build
run: pnpm build
- name: Nightly release
if: |
github.event_name == 'push' &&
matrix.node == 20 &&
matrix.os == 'ubuntu-latest' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.event.head_commit.message, 'docs')
run: pnpm publish --recursive --tag nightly --provenance --access public --report-summary --no-git-checks --force
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}