Skip to content

Commit

Permalink
build: github actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
alisahinozcelik committed Nov 25, 2023
1 parent b2e3214 commit ce59cc3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,18 @@ on:
types: [created]

jobs:
prepare:
prepare-v17:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm version ${{github.ref}} --no-git-tag-version
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm i
- run: node_modules/.bin/nx run ng-utils:build
- run: cd ./dist/libs/ng-utils && npm version 17${{github.ref_name}} --no-git-tag-version
- uses: actions/upload-artifact@v3
with:
name: package-v17
path: dist/libs/ng-utils/

0 comments on commit ce59cc3

Please sign in to comment.