Skip to content

v0.1.0

v0.1.0 #217

Workflow file for this run

name: Publish Package to npmjs
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
architecture: x64
cache: 'pip'
- run: python -m pip install -r requirements.txt
- run: python generator.py
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')