Skip to content

fix: prevent duplicate declaration of 'channel' (fixes oled/apds) (#98) #63

fix: prevent duplicate declaration of 'channel' (fixes oled/apds) (#98)

fix: prevent duplicate declaration of 'channel' (fixes oled/apds) (#98) #63

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- v*
workflow_dispatch: {}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Build
run: |
npm ci && npm run build
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
npm publish --access public