We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 744f0bd + 0aec5a4 commit 07442d4Copy full SHA for 07442d4
.github/workflows/ci.yaml
@@ -42,3 +42,20 @@ jobs:
42
run: yarn test
43
env:
44
CI: true
45
+
46
+ deploy:
47
+ runs-on: ubuntu-latest
48
49
+ needs: [test, lint]
50
+ if: github.ref == 'refs/heads/main'
51
52
+ steps:
53
+ - uses: actions/checkout@v2
54
+ - name: Use Node.js
55
+ uses: actions/setup-node@v1
56
+ - name: Build
57
+ run: yarn build
58
+ - uses: JS-DevTools/npm-publish@v1
59
+ with:
60
+ registry: https://npm.pkg.github.com
61
+ token: ${{ secrets.NPM_TOKEN }}
package.json
@@ -1,5 +1,5 @@
1
{
2
- "name": "apollo-gateway",
+ "name": "@module-federation/apollo-gateway",
3
"version": "1.0.0",
4
"main": "dist/cjs/index.js",
5
"module": "dist/esm/index.js",
0 commit comments