Skip to content

Disable no-var rule due to a false positive #40

Disable no-var rule due to a false positive

Disable no-var rule due to a false positive #40

Workflow file for this run

name: Build, Test and Release
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- main
jobs:
build:
timeout-minutes: 2
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.6.3
- uses: actions/setup-node@v2
with:
node-version: "17"
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Lint and Typecheck
run: pnpm check
env:
CI: true
- name: Publish to NPM
if: ${{ github.ref == 'refs/heads/main' }}
id: publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
check-version: true
- if: steps.publish.outputs.type != 'none'
run: |
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"