Skip to content

re-try

re-try #13

Workflow file for this run

name: Publish to npmjs
on:
push:
branches:
- cicd-dev
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/configuration/packages
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Configure npm for lerna
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Set up Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# - name: Bootstrap packages
# run: npx lerna bootstrap
# - name: Run testsnpx lerna bootstrap
# run: npx lerna run test
- name: Publish packages
run: npx lerna publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}