Skip to content

Commit

Permalink
Merge pull request #2 from demmorou/release/logger/v1.0.7
Browse files Browse the repository at this point in the history
Release/logger/v1.0.7
  • Loading branch information
demmorou authored Apr 30, 2024
2 parents 4468861 + a6f29b0 commit e17a8b8
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 24 deletions.
Empty file removed .env
Empty file.
22 changes: 0 additions & 22 deletions .github/logger_npm_publish.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/logger_npm_publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish Logger to npmjs

on:
push:
branches:
- 'release/logger/**'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8

- name: Install dependencies
run: pnpm logger i

- name: Build logger
run: pnpm logger build

- name: Publish logger
run: pnpm logger publish --no-git-check
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@demmorou/logger",
"version": "1.0.7",
"version": "1.0.8",
"author": "Deusimar (@demmorou)",
"description": "Custom logger implementation with winston",
"description": "Custom logger implementation based on winston. For any Node.js application.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
Expand Down

0 comments on commit e17a8b8

Please sign in to comment.