Skip to content

Commit a727c4a

Browse files
authored
Pin to turbo v1 (#41)
* Pin to turbo v1 * check in build
1 parent ed581bc commit a727c4a

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
This is the package powering the GitHub action we use to determine which of our services have changed in each PR. We use that information to build only the changed packages rather than all services.
2+
3+
## Troubleshooting
4+
5+
If you get the following error when running `npm run package`:
6+
```
7+
Error: error:0308010C:digital envelope routines::unsupported
8+
```
9+
10+
There is an issue here for this error: https://github.com/webpack/webpack/issues/14532
11+
12+
A workaround is to set the following environment variable:
13+
14+
```bash
15+
export NODE_OPTIONS=--openssl-legacy-provider
16+
```

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const run = async (): Promise<void> => {
1414
debug(`Inputs: ${JSON.stringify({prefix, from, to, workingDirectory})}`)
1515

1616
const json = execSync(
17-
`npx turbo run build ${
17+
`npx turbo@1 run build ${
1818
from || to ? `--filter="[${from}...${to}]"` : ''
1919
} --dry-run=json`,
2020
{

0 commit comments

Comments
 (0)