Skip to content

chore(deps): update eslint monorepo to v9.18.0 (#510) #289

chore(deps): update eslint monorepo to v9.18.0 (#510)

chore(deps): update eslint monorepo to v9.18.0 (#510) #289

Workflow file for this run

name: Release New Version
on:
push:
branches:
- main
jobs:
release:
name: Release new Version
runs-on: ubuntu-latest
env:
CI: 'true'
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Configure CI Git User
run: |
git config --global user.name 'Danilo Velasquez'
git config --global user.email '[email protected]'
git remote set-url origin https://[email protected]/dvelasquez/carbon-tools
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: build
run: pnpm lerna:build
- name: Run Node TAP tests
run: pnpm test
- name: Version
run: pnpm lerna:version
- name: NPM Auth
run: |
yarn logout
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc 2> /dev/null
npm whoami
npm config set access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish package
run: npm run lerna:deploy:ci
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}