Skip to content

fix: fix #2 and add runtime feature checks #4

fix: fix #2 and add runtime feature checks

fix: fix #2 and add runtime feature checks #4

Workflow file for this run

name: TypeScript Package
on:
push:
tags:
- '*'
jobs:
npm-publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
scope: '@dan0xe'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}