Skip to content

Commit

Permalink
chore: Настройка релизов через changelogen (#44)
Browse files Browse the repository at this point in the history
* Удаление предыдущих файлов #40

* Настройка changelogen #40
  • Loading branch information
ExEr7um authored Jul 31, 2023
1 parent f2b4f3f commit f33f874
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 175 deletions.
17 changes: 0 additions & 17 deletions .github/release.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Релиз проекта

on:
workflow_dispatch:
inputs:
version:
description: Версия релиза
required: true
type: string

jobs:
changelog:
uses: Pacific-Agency/workflows/.github/workflows/changelog.yml@v0.3.0
with:
version: ${{ inputs.version }}
secrets:
BOT_ACCESS_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Публикация на GitHub Packages

on:
workflow_run:
workflows: [Релиз проекта]
types: [completed]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3

- name: Настройка NodeJS
uses: actions/setup-node@v3
with:
registry-url: https://npm.pkg.github.com/

- name: Публикация
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ github.token }}
20 changes: 0 additions & 20 deletions .github/workflows/release-package.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/update-package-json.yml

This file was deleted.

110 changes: 8 additions & 102 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,104 +1,10 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
node_modules
*.log*
.nuxt
.nitro
.cache
.output
.env
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
.idea/
.eslintcache
Empty file added CHANGELOG.md
Empty file.
3 changes: 3 additions & 0 deletions changelog.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "github:Pacific-Agency/changelogen-config"
}

0 comments on commit f33f874

Please sign in to comment.