Skip to content

chore(deps-dev): bump eslint-config-oclif from 5.2.1 to 5.2.2 #448

chore(deps-dev): bump eslint-config-oclif from 5.2.1 to 5.2.2

chore(deps-dev): bump eslint-config-oclif from 5.2.1 to 5.2.2 #448

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main, feat/*]
tags:
- 'v*.*.*'
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test
- name: Build tarballs
if: startsWith(github.ref, 'refs/tags/')
run: yarn build:standalone
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/**/*.tar.gz
draft: true
body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
if: startsWith(github.ref, 'refs/tags/')
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
if: startsWith(github.ref, 'refs/tags/')
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}