A11yance / aria-query

Programmatic access to the ARIA specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update the NPM publish workflow so that it runs `npm run build` before pushing to the repository

jessebeach opened this issue · comments

In a recent release, the /lib directory wasn't updated before the version was published. This caused a removed dependency to remain in the built files, yielding a runtime error.

Follow the guide here: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

Basically, add "prepublishOnly": "npm run build" in the scripts section in package.json.

Basically, add "prepublishOnly": "npm run build" in the scripts section in package.json.

Thank you for the solution here :)