Skip to content

Commit

Permalink
ci: Add new color to test npm CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
joaogomesdev committed Oct 16, 2022
1 parent b1bbdc1 commit 4644f14
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
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-latest
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

- run: npm run build

- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
TURBO_TOKEN: MMPOQn08CV4zFlDNfM5Ljtnz
TURBO_TEAM: studies
7 changes: 7 additions & 0 deletions packages/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @joaogomesdev-studies/tokens

## 1.1.0

### Minor Changes

- Add new color for test
2 changes: 1 addition & 1 deletion packages/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joaogomesdev-studies/tokens",
"version": "1.0.0",
"version": "1.1.0",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/tokens/src/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ export const colors = {
ignite500: '#00875F',
ignite700: '#015F43',
ignite900: '#00291D',

test: '#FFF',
}

0 comments on commit 4644f14

Please sign in to comment.