Skip to content

Commit

Permalink
impr: CPO-126 Update commit lint to latest v1 (#138)
Browse files Browse the repository at this point in the history
* impr: CPO-126 Update commit lint to latest v1

* impr: CPO-126 Pull package from artifactory
  • Loading branch information
jay-motwani-trend authored Feb 5, 2024
1 parent 9d9338a commit 837e14f
Show file tree
Hide file tree
Showing 3 changed files with 12,133 additions and 9,577 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,25 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
ARTIFACTORY_TOKEN_EMAIL: ${{ secrets.ARTIFACTORY_TOKEN_EMAIL }}
ARTIFACTORY_URL: ${{ secrets.ARTIFACTORY_URL_VIRTUAL }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # refers to actions/checkout@v3.1.0
with:
persist-credentials: false

# Install Node.js
- uses: actions/setup-node@v1
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # refers to actions/setup-node@v3.5.1
with:
node-version: 16
node-version: 18

- run: npm i npm@9 -g
- run: npm config set registry https://$ARTIFACTORY_URL
- run: npm config set replace-registry-host npm.pkg.github.com
- run: npm config set //$ARTIFACTORY_URL:_auth "$(echo -n $ARTIFACTORY_TOKEN_EMAIL:$ARTIFACTORY_TOKEN | base64 -w 0)"
- run: npm config set //$ARTIFACTORY_URL:email "$ARTIFACTORY_TOKEN_EMAIL"

# Install your dependencies
- name: Installing package.json...
Expand Down
Loading

0 comments on commit 837e14f

Please sign in to comment.