Skip to content

Commit

Permalink
feat(ref: no-ref): test semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
andriikamaldinov1 committed Mar 18, 2024
1 parent 4d15d40 commit 51a3b48
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- name: Build app
env:
VITE_RELEASE_VERSION: ${{ steps.semantic-release.outputs.new-release-version }}
RELEASE_VERSION: ${{ steps.semantic-release.outputs.new-release-version }}
run: |
echo '********'
echo "VITE_RELEASE_VERSION: $VITE_RELEASE_VERSION"
echo "RELEASE_VERSION: $RELEASE_VERSION"
echo '********'
npm run build
Expand Down
9 changes: 5 additions & 4 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import {
FormatAndParserExamples,
ParserAndFormatterDocs,
} from '../assets/content/parser-and-formatter';
// import * as process from 'process';
// import { VersionToken } from '@libraries/version/version.token';
// const { VITE_RELEASE_VERSION } = process.env;
import * as process from 'process';
import { VersionToken } from '@libraries/version/version.token';
const { RELEASE_VERSION } = process.env;

@Component({
selector: 'jsdaddy-open-source-root',
Expand All @@ -36,7 +36,7 @@ import {
AccordionComponent,
FooterComponent,
],
// providers: [{ provide: VersionToken, useValue: VITE_RELEASE_VERSION }],
providers: [{ provide: VersionToken, useValue: RELEASE_VERSION }],
})
export class AppComponent {
public card: {
Expand All @@ -46,6 +46,7 @@ export class AppComponent {
docs: ComDocs,
examples: ComExamples,
};

public lists: IListItem[] = lists;
public githubMaskLink = LinkPath.NGX_MASK;
public title = 'Ngx-Mask';
Expand Down

0 comments on commit 51a3b48

Please sign in to comment.