Skip to content

Workflow file for this run

on:
release:
types: [created]
jobs:
test:
strategy:
matrix:
os: [macos-13, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
- name: Install Python setup tools
run: pip install setuptools
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- run: npm install-ci-test
npm-publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
registry-url: https://npm.pkg.github.com
scope: '@grupoboticario'
cache: 'npm'
- run: npm --no-git-tag-version version $TAG
env:
TAG: ${{ github.event.release.tag_name }}
- run: npm ci && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}