Skip to content

feat(esm): try and be a bit smarter about ESM generation #41

feat(esm): try and be a bit smarter about ESM generation

feat(esm): try and be a bit smarter about ESM generation #41

Workflow file for this run

name: Publish npm Package
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --immutable
- run: yarn build
- run: yarn lint
- run: yarn test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn install --immutable
- run: yarn build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}