diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index a533d156..9efb2ccd 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -3,7 +3,7 @@ name: changelog on: push: branches: - - main + - 1.x permissions: pull-requests: write @@ -20,6 +20,7 @@ jobs: steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: + ref: '1.x' fetch-depth: 0 - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4664408..ffc38f55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: - scripts pull_request: branches: - - main + - 1.x - "!v[0-9]*" paths-ignore: - docs/** @@ -22,6 +22,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ref: '1.x' - run: npm i -g --force corepack && corepack enable - name: Set node version to 20 @@ -45,6 +47,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ref: '1.x' - run: npm i -g --force corepack && corepack enable - name: Set node version to 20 @@ -71,6 +75,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ref: '1.x' - run: npm i -g --force corepack && corepack enable - name: Set node version to 20 @@ -93,6 +99,8 @@ jobs: CI_JOB_NUMBER: 1 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ref: '1.x' - run: npm i -g --force corepack && corepack enable - name: Set node version to 20 diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml deleted file mode 100644 index 4d17ffd6..00000000 --- a/.github/workflows/release-pr.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: release-pr - -on: - push: - branches: - - main - paths-ignore: - - docs/** - - docs-playground/** - - playgrounds/** - - scripts - pull_request: - branches: - - main - paths-ignore: - - docs/** - - docs-playground/** - - playgrounds/** - - scripts - -env: - # 7 GiB by default on GitHub, setting to 6 GiB - NODE_OPTIONS: --max-old-space-size=6144 - -permissions: - contents: read - -jobs: - release-pr: - permissions: - id-token: write - pull-requests: write - runs-on: ubuntu-latest - timeout-minutes: 20 - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: npm i -g --force corepack && corepack enable - - uses: actions/setup-node@v4.0.2 - with: - node-version: 20 - cache: "pnpm" - - - name: Install dependencies - run: pnpm install - - - name: Build Stub - run: pnpm build:stub - - - name: Build - run: pnpm build:ci - - - name: Release Edge - if: | - github.event_name == 'push' && - !contains(github.event.head_commit.message, '[skip-release]') - run: ./scripts/release-edge.sh - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - NPM_CONFIG_PROVENANCE: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1313538a..a30f806e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: release on: push: tags: - - "v*" + - "v1*" # Remove default permissions of GITHUB_TOKEN for security # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs @@ -19,6 +19,7 @@ jobs: steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: + ref: '1.x' fetch-depth: 0 - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index d2d4c7ba..d2614d44 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -39,7 +39,7 @@ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground" }, "peerDependencies": { - "@pinia/nuxt": "^0.5.1" + "@pinia/nuxt": "<=0.9.0" }, "dependencies": { "@nuxt/kit": "^3.12.3",