diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..5e9fcfc --- /dev/null +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file diff --git a/packages/tokens/CHANGELOG.md b/packages/tokens/CHANGELOG.md new file mode 100644 index 0000000..ebd5104 --- /dev/null +++ b/packages/tokens/CHANGELOG.md @@ -0,0 +1,7 @@ +# @joaogomesdev-studies/tokens + +## 1.1.0 + +### Minor Changes + +- Add new color for test diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 8fdcf6b..2825466 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -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", diff --git a/packages/tokens/src/colors.ts b/packages/tokens/src/colors.ts index 72cffce..b823a3c 100644 --- a/packages/tokens/src/colors.ts +++ b/packages/tokens/src/colors.ts @@ -15,4 +15,6 @@ export const colors = { ignite500: '#00875F', ignite700: '#015F43', ignite900: '#00291D', + + test: '#FFF', }