Skip to content

Temporarily remove ESLint to fix build #2

Temporarily remove ESLint to fix build

Temporarily remove ESLint to fix build #2

Workflow file for this run

name: Publish Package
on:
push:
tags:
- 'v*.*.*' # Triggers the workflow when a tag starting with 'v' is pushed (e.g., v1.0.0)
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Check out the repository code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20' # Ensure this matches your Node.js version
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
# If you have a build step, include it; otherwise, you can remove this step
# - name: Build the package
# run: npm run build
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}