Skip to content

Commit

Permalink
match stablecoin studio for set up node (#36)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler McDonald <tyler@hgraph.io>
  • Loading branch information
tmctl authored Jan 30, 2024
1 parent ae6d70f commit f069f63
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ on:
- published
jobs:
publish:
name: npm
name: docker
runs-on: [self-hosted, Linux, medium, ephemeral]

permissions:
@@ -15,14 +15,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608


- name: Setup NodeJS Environment
uses: actions/setup-node@d86ebcd40b3cb50b156bfa44dd277faf38282d12
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: 18.x

- name: Install dependencies
run: npm install

- name: Create .npmrc
run: |
touch .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Publish
run: npm publish --public
env:

0 comments on commit f069f63

Please sign in to comment.