Skip to content

Bump @types/node from 20.12.8 to 20.12.11 #242

Bump @types/node from 20.12.8 to 20.12.11

Bump @types/node from 20.12.8 to 20.12.11 #242

Workflow file for this run

on: [push]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm ci
- run: npm test
# always pass when ref_type == 'branch'
- uses: dr666m1/tag-version-match@main
with:
file: ./package.json
query: .version
pattern: '^([0-9]+\.[0-9]+\.[0-9]+)$'
- run: npm publish
if: ${{ github.ref_type == 'tag' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}