Skip to content

chore: npm

chore: npm #4

Workflow file for this run

name: Build avrdude with Emscripten
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Emscripten
uses: mymindstorm/setup-emsdk@v14
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Build Picotool
run: ./build.sh
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build NPM Module
run: yarn build
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: npm publish --access public