Skip to content

Commit

Permalink
chore: manually bump to 1.0.0 and update gha workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Apr 13, 2024
1 parent 1014d69 commit e664cac
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 51 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/code-quality-assurance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Code quality assurance: @exile-watch / doryani"

on:
push:
branches:
- main

jobs:
code-quality-assurance:
runs-on: ubuntu-latest
steps:
- name: Code quality assurance
if: "!contains(github.event.head_commit.message, '[skip ci]')"
uses: exile-watch/doryani/code-quality-assurance@main
with:
GH_ACTOR: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/preview-publish-package.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "@exile-watch/doryani"
name: "Preview publish package: @exile-watch / doryani"

on:
pull_request_target:
Expand All @@ -8,6 +8,7 @@ on:
jobs:
preview-publish-package:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'preview-publish')
steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Publish package: @exile-watch / doryani"

on:
push:
paths:
- 'packages/**'
- '!packages/**/*.md'
branches:
- main
workflow_dispatch:

jobs:
code-quality-assurance:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
name: Code quality assurance
steps:
- uses: exile-watch/doryani/code-quality-assurance@main
with:
GH_ACTOR: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

publish-package:
needs: [code-quality-assurance]
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: exile-watch/doryani/publish-package@main
with:
GH_ACTOR: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48 changes: 0 additions & 48 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/writ-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exile-watch/writ-icons",
"version": "0.3.8",
"version": "1.0.0",
"description": "Shared design system of React components for exile.watch fronted projects",
"homepage": "https://github.com/exile-watch/writ/pkgs/npm/writ-icons",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/writ-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exile-watch/writ-react",
"version": "0.7.2",
"version": "1.0.0",
"description": "Shared design system of React components for exile.watch fronted projects",
"homepage": "https://github.com/exile-watch/writ/pkgs/npm/writ-react",
"repository": {
Expand Down

0 comments on commit e664cac

Please sign in to comment.