Update Node version. #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: [master] | |
env: | |
NPM_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
scope: '@ramseyinhouse' | |
- name: "Configure npm" | |
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc | |
- name: "Configure Git" | |
run: | | |
git config user.name "RamseyInHouse Open Source" | |
git config user.email "opensource@ramseysolutions.com" | |
- name: "Build & Publish Package" | |
run: | | |
npm run install-all | |
npm run build | |
lerna publish from-package --yes |