Skip to content

Commit

Permalink
workflow patch for fixing release
Browse files Browse the repository at this point in the history
  • Loading branch information
patsissons committed Jan 6, 2025
1 parent f5e07bb commit 749643b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ runs:
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
# - name: Configure npmrc
# shell: bash
# run: |
# echo "//registry.npmjs.org/:_authToken=${{ inputs.npm-token }}" >> .npmrc
# echo "registry=https://registry.npmjs.org" >> .npmrc
# echo "always-auth=true" >> .npmrc
- name: Install node modules
shell: bash
run: |
echo "//registry.npmjs.org/:_authToken=${{ inputs.npm-token }}" >> .npmrc
echo "registry=https://registry.npmjs.org" >> .npmrc
echo "always-auth=true" >> .npmrc
yarn install --frozen-lockfile
run: yarn install --frozen-lockfile
7 changes: 5 additions & 2 deletions .github/workflows/pr.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- run: npm test
with:
npm-token: ${{ secrets.NPM_TOKEN }}
- run: npm run build
- run: npm publish --access public
env:
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 749643b

Please sign in to comment.