Skip to content

Commit

Permalink
Add a step to install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhivkov committed Apr 18, 2023
1 parent 4e2c0b2 commit 0d290dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
- name: Check out the Repository
uses: actions/checkout@v3

- name: Prepare .npmrc
id: npmrc
run: |
sed -i 's|${GITHUB_TOKEN}|${{ secrets.GITHUB_TOKEN }}|' ./.npmrc
- name: Install dependencies
run: npm install

- name: Run tests
run: npm test

Expand All @@ -41,11 +49,6 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Prepare .npmrc
id: npmrc
run: |
sed -i 's|${GITHUB_TOKEN}|${{ secrets.GITHUB_TOKEN }}|' ./.npmrc
- name: Get Branch Name
run: echo "BRANCH=${GITHUB_REF#refs/heads/}" >> ${GITHUB_ENV}

Expand Down
4 changes: 2 additions & 2 deletions openidl-common-lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openidl-common-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@senofi/openidl-common-lib",
"version": "0.7.57",
"version": "0.7.59",
"private": false,
"main": "index.js",
"publishConfig": {
Expand Down

0 comments on commit 0d290dd

Please sign in to comment.