Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Fix build (babel helper-compilation-targets workaround)
Browse files Browse the repository at this point in the history
This is a bug in babel: babel/babel#11216
It is closed but points to an issue in node: nodejs/node#32107
The issue in node is closed as not an issue, so it seems as though babel needs to fix.

Also, check that build works in PRs.
  • Loading branch information
amacleay-cohere authored and fabien0102 committed Jul 10, 2020
1 parent 9edba75 commit c4b0494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 12.16.1 # workaround https://github.com/babel/babel/issues/11216
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn build
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 12.16.1 # workaround https://github.com/babel/babel/issues/11216
- run: yarn
- run: yarn test
- run: yarn build

0 comments on commit c4b0494

Please sign in to comment.