Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable publish #1

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,5 @@ jobs:
- name: test
uses: ./.github/actions/test

# Publish package
- name: Publish
shell: bash
run: |
echo -e "\nnpmAuthToken: '${{ env.NODE_AUTH_TOKEN }}'" >> ./.yarnrc.yml
yarn npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

#- name: publish
# uses: ./.github/actions/publish
- name: publish
uses: ./.github/actions/publish
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- code build

## [0.1.0] - 2024-03-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Util/Code/CodeFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { inject, injectable } from 'inversify';
import { type ITemplateEngine } from '../TemplateEngine';
import { FilesystemHelper } from '../Filesystem/FilesystemHelper';
import path from 'path/posix';
import { DI } from '@/Constants';
import { DI } from '../../Constants';


export interface CreateCodeOptions {
Expand Down
2 changes: 1 addition & 1 deletion src/Util/Nx/NxHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { inject, injectable } from 'inversify';
import { existsSync } from 'fs-extra';
import path from 'path/posix';
import type { IMonorepoHelper } from '../Project/IMonorepoHelper';
import { DI } from '@/Constants';
import { DI } from '../../Constants';
import { OKA, type AR } from '@hexancore/common';
import { FilesystemHelper } from '../Filesystem/FilesystemHelper';

Expand Down
Loading