Skip to content

Bug: fixed fsevents and __driname error from ES module scope (#107) #6

Bug: fixed fsevents and __driname error from ES module scope (#107)

Bug: fixed fsevents and __driname error from ES module scope (#107) #6

Workflow file for this run

name: Publish Package
on:
push:
branches:
- main
paths:
- 'packages/shortest/**'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/shortest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.7.1
- uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org/'
scope: '@antiwork'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Publish to NPM
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/