Skip to content

Commit

Permalink
build: fix ci/cd, add release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
keindev committed Feb 12, 2024
1 parent ba1c3ec commit 8731ca2
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 64 deletions.
52 changes: 23 additions & 29 deletions .config/.github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,34 @@
release:
- base-branch: 'main'
workflow:
- .github/**/*
- ./.gitignore
- ./.npmignore

- changed-files:
- any-glob-to-any-file: ['.github/**/*', './.gitignore', './.npmignore']
config:
- .sharedconfig.yml
- .husky/**/*

- changed-files:
- any-glob-to-any-file: ['.sharedconfig.yml', '.husky/**/*']
project:
- package-lock.json
- package.json
- LICENSE

- changed-files:
- any-glob-to-any-file: ['package-lock.json', 'package.json', 'LICENSE']
docs:
- any: ['docs/**/*', '*.md', '.ghinfo']

- changed-files:
- any-glob-to-any-file: ['docs/**/*', '*.md', '.ghinfo']
shared-config:workflow:
- .config/.github/**/*
- .config/.gitignore
- .config/.npmignore
- changed-files:
- any-glob-to-any-file: ['.config/.github/**/*', '.config/.gitignore', '.config/.npmignore']

shared-config:code-style:
- .config/.editorconfig
- .config/.eslintignore
- .config/.eslintrc
- .config/.prettierignore
- .config/.prettierrc

- changed-files:
- any-glob-to-any-file: ['.config/.editorconfig', '.config/.eslintignore', '.config/.eslintrc', '.config/.prettierignore', '.config/.prettierrc']
shared-config:test:
- .config/jest.config.js

- changed-files:
- any-glob-to-any-file: ['.config/jest.config.js']
shared-config:ts:
- .config/tsconfig.json

- changed-files:
- any-glob-to-any-file: ['.config/tsconfig.json']
shared-config:scripts:
- scripts.js

- changed-files:
- any-glob-to-any-file: ['scripts.js']
shared-config:dependencies:
- dependencies.js
- changed-files:
- any-glob-to-any-file: ['dependencies.js']

5 changes: 5 additions & 0 deletions .config/.github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
labels:
name: Pull Request Labeler
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v5
with:
Expand Down
52 changes: 23 additions & 29 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,34 @@
release:
- base-branch: 'main'
workflow:
- .github/**/*
- ./.gitignore
- ./.npmignore

- changed-files:
- any-glob-to-any-file: ['.github/**/*', './.gitignore', './.npmignore']
config:
- .sharedconfig.yml
- .husky/**/*

- changed-files:
- any-glob-to-any-file: ['.sharedconfig.yml', '.husky/**/*']
project:
- package-lock.json
- package.json
- LICENSE

- changed-files:
- any-glob-to-any-file: ['package-lock.json', 'package.json', 'LICENSE']
docs:
- any: ['docs/**/*', '*.md', '.ghinfo']

- changed-files:
- any-glob-to-any-file: ['docs/**/*', '*.md', '.ghinfo']
shared-config:workflow:
- .config/.github/**/*
- .config/.gitignore
- .config/.npmignore
- changed-files:
- any-glob-to-any-file: ['.config/.github/**/*', '.config/.gitignore', '.config/.npmignore']

shared-config:code-style:
- .config/.editorconfig
- .config/.eslintignore
- .config/.eslintrc
- .config/.prettierignore
- .config/.prettierrc

- changed-files:
- any-glob-to-any-file: ['.config/.editorconfig', '.config/.eslintignore', '.config/.eslintrc', '.config/.prettierignore', '.config/.prettierrc']
shared-config:test:
- .config/jest.config.js

- changed-files:
- any-glob-to-any-file: ['.config/jest.config.js']
shared-config:ts:
- .config/tsconfig.json

- changed-files:
- any-glob-to-any-file: ['.config/tsconfig.json']
shared-config:scripts:
- scripts.js

- changed-files:
- any-glob-to-any-file: ['scripts.js']
shared-config:dependencies:
- dependencies.js
- changed-files:
- any-glob-to-any-file: ['dependencies.js']

5 changes: 5 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
labels:
name: Pull Request Labeler
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"description": "Base shared config for tagproject packages",
"license": "MIT",
"homepage": "https://github.com/tagproject/base-shared-config#readme",
"author": {
"name": "Daniil Ryazanov",
"email": "kein@tagproject.ru"
},
"author": "Daniil Ryazanov <kein@tagproject.ru>",
"keywords": [
"base",
"config",
Expand Down

0 comments on commit 8731ca2

Please sign in to comment.