Skip to content

refactor(scripts): make import esm-ready #1950

refactor(scripts): make import esm-ready

refactor(scripts): make import esm-ready #1950

Workflow file for this run

name: npm
on:
push:
branches: [master]
jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org/'
cache: yarn
- run: npm i -g yarn@1
- run: yarn config set network-timeout 300000
- run: yarn
- run: yarn build
- run: npx pleb@6 publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}