Skip to content

fix: use proper env vars #7

fix: use proper env vars

fix: use proper env vars #7

Workflow file for this run

name: Publish
on:
push:
branches:
- 'feat/build-artifacts-in-pipeline' # matches every branch
# - '!main'
# pull_request:
# Needed for nx-set-shas when run on the main branch
permissions:
actions: read
contents: read
jobs:
artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: configure git
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: install dependencies
run: npm ci
- name: publish to npm
run: npx nx run-many -t release -p @affinidi-tdk/auth-provider
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}