Skip to content

v0.2.7

v0.2.7 #21

Workflow file for this run

name: Publish npmjs Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-py3.9-${{ hashFiles('.github/workflows/npm-publish.yml') }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- run: make release-npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_API_TOKEN}}