Skip to content

Commit

Permalink
cd: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
giovani.franz committed Jan 10, 2023
1 parent aa6d592 commit d9df50b
Show file tree
Hide file tree
Showing 11 changed files with 66 additions and 33 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/deploy-docs.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- run: npm ci

- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


1 change: 0 additions & 1 deletion apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = withBundleAnalyzer({
{
protocol: 'https',
hostname: 'cdn.myanimelist.net',
port: '',
},
],
},
Expand Down
6 changes: 6 additions & 0 deletions packages/design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @whatanime/design-system

## 0.2.0

### Minor Changes

- update next-config

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatanime/design-system",
"version": "0.1.0",
"version": "0.2.0",
"main": "./src/index.ts",
"types": "./src/index.ts",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @whatanime/design-tokens

## 0.2.0

### Minor Changes

- update next-config

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatanime/design-tokens",
"version": "0.1.0",
"version": "0.2.0",
"main": "./src/index.ts",
"types": "./src/index.ts",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config-custom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @whatanime/eslint-config-custom

## 0.2.0

### Minor Changes

- update next-config

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatanime/eslint-config-custom",
"version": "0.1.0",
"version": "0.2.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @whatanime/tsconfig

## 0.2.0

### Minor Changes

- update next-config

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatanime/tsconfig",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"files": [
"base.json",
Expand Down

2 comments on commit d9df50b

@vercel
Copy link

@vercel vercel bot commented on d9df50b Jan 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d9df50b Jan 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

storybook-whatanime – ./apps/docs

storybook-whatanime.vercel.app
storybook-whatanime-giovanifranz.vercel.app
storybook-whatanime-git-main-giovanifranz.vercel.app

Please sign in to comment.