Skip to content

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 committed Jul 8, 2020
1 parent b890e0c commit ba5da4d
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 ba5da4d

Please sign in to comment.