Skip to content

Commit 174944a

Browse files
committed
chore: wip new pipeline
1 parent afefbee commit 174944a

File tree

9 files changed

+955
-1
lines changed

9 files changed

+955
-1
lines changed

.github/workflows/publish-engines.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: publish-engines
2+
3+
on:
4+
repository_dispatch:
5+
types:
6+
- publish-engines
7+
8+
jobs:
9+
cli-commands:
10+
timeout-minutes: 10
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
fail-fast: false
15+
node: [12]
16+
17+
steps:
18+
- run: bash .github/workflows/setup.sh
19+
env:
20+
CI: true
21+
GITHUB_CONTEXT: ${{ toJson(github) }}
22+
23+
- run: pnpm run publish-all
24+
env:
25+
CI: true
26+
GITHUB_CONTEXT: ${{ toJson(github) }}

.github/workflows/setup.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
5+
cd src
6+
7+
npm i --silent -g [email protected] --unsafe-perm
8+
pnpm i
9+

package.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "engines-wrapper",
3+
"version": "1.0.0",
4+
"description": "This repository contains the packages `@prisma/engines` and `@prisma/engines-version`. They are wrapping our [Rust Engines](https://github.com/prisma/prisma-engines) in npm packages.",
5+
"private": true,
6+
"devDependencies": {
7+
"@types/node": "^14.11.8",
8+
"chalk": "^4.1.0",
9+
"execa": "^4.0.3",
10+
"ts-node": "^9.0.0",
11+
"typescript": "^4.0.3"
12+
},
13+
"scripts": {
14+
"publish-all": "ts-node scripts/publish.ts"
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/prisma/engines-wrapper.git"
19+
},
20+
"bugs": {
21+
"url": "https://github.com/prisma/engines-wrapper/issues"
22+
},
23+
"homepage": "https://github.com/prisma/engines-wrapper#readme"
24+
}

packages/engines-version/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"enginesVersion": "e078aa75c40550d826bc35aeee4f45582fb4165e"
1010
},
1111
"devDependencies": {
12+
"@types/node": "^14.11.8",
1213
"typescript": "^4.0.3"
1314
},
1415
"scripts": {

packages/engines/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"author": "Tim Suchanek <[email protected]>",
88
"devDependencies": {
99
"@prisma/debug": "^2.9.0",
10-
"@prisma/engines-version": "workspace:^0.0.1-e078aa75c40550d826bc35aeee4f45582fb4165e",
10+
"@prisma/engines-version": "workspace:*",
1111
"@prisma/fetch-engine": "^2.9.0",
12+
"@types/node": "^14.11.8",
1213
"esbuild": "^0.7.15",
1314
"execa": "^4.0.3",
1415
"typescript": "4.0.3"

0 commit comments

Comments
 (0)