From c6624f4c3356e98e8955072714946f23cd1e0bc3 Mon Sep 17 00:00:00 2001 From: Sor4chi <80559385+sor4chi@users.noreply.github.com> Date: Mon, 6 May 2024 08:13:50 +0900 Subject: [PATCH] ci: remove snapshot release action --- .github/workflows/snapshot-release.yml | 55 -------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/workflows/snapshot-release.yml diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml deleted file mode 100644 index fe3845b..0000000 --- a/.github/workflows/snapshot-release.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Snapshot Release - -on: - push: - branches: - - main - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -jobs: - release: - name: Release - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - - name: Setup Node.js 18.x - uses: actions/setup-node@v3 - with: - node-version: 18.x - registry-url: https://registry.npmjs.org/ - - - uses: pnpm/action-setup@v2 - name: Install pnpm - with: - version: 8 - run_install: false - - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install Dependencies - run: pnpm install --frozen-lockfile - - - name: Build - run: pnpm build - - - name: Release with @next tag - run: | - pnpm changeset version --snapshot next - pnpm changeset publish --no-git-tag --snapshot --tag next - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}