Skip to content

upgrade nx

upgrade nx #74

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: '18'
- name: Upgrade NPM
run: npm i -g npm
- name: Checkout repository
uses: actions/checkout@master
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Lint packages
run: npm run lint
- name: Publish packages to NPM
run: |
echo '//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}' > .npmrc
npm run release -- --yes
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}