Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update release #27

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Snapshot
name: Release Canary

on:
push:
Expand All @@ -12,28 +12,30 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16

- name: Install Yarn
run: npm install -g yarn

- name: Install Dependencies
run: yarn
run: yarn install

- name: Build
run: yarn build

- name: changeset version
- name: Version
run: yarn changeset version --snapshot canary

- name: Creating .npmrc
- name: Create .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,30 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16

- name: Install Yarn
run: npm install -g yarn

- name: Install Dependencies
run: yarn
run: yarn install

- name: Build
run: yarn build

- name: changeset version
- name: Version
run: yarn changeset version --snapshot next

- name: Creating .npmrc
- name: Create .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16

- name: Install Yarn
run: npm install -g yarn

- name: Install Dependencies
run: yarn
run: yarn install

- name: Build
run: yarn build
Expand Down