Skip to content

fix: set up the dtslint temp folder only when needed (#449) #111

fix: set up the dtslint temp folder only when needed (#449)

fix: set up the dtslint temp folder only when needed (#449) #111

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
echo ":::: Publishing as $(npm whoami)"
npm run release:publish
env:
NPM_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}