Skip to content

build: update to Node.js 20 TDE-1090 (#143) #52

build: update to Node.js 20 TDE-1090 (#143)

build: update to Node.js 20 TDE-1090 (#143) #52

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b # v4.1.0
id: release
with:
release-type: node
token: ${{ secrets.GITHUB_TOKEN }}
publish-release:
needs: release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Build and test
uses: linz/action-typescript@9bf69b0f313b3525d3ba3116f26b1aff7eb7a6c0 # v3
with:
registry-url: 'https://npm.pkg.github.com'
node-version: 20.x
- name: Publish to Github
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}