Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ jobs:

steps:
- uses: actions/checkout@v4
# This explicitly tells action to use the latest version of Zuplo from the public NPM registry
- uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
cache: "npm"

- run: npm install
env:
GITHUB_NPM_TOKEN: ${{ secrets.GH_NPM_PACKAGE_READ_TOKEN }}

- name: Pre-cache Deno
run: |
./node_modules/deno-bin/bin/deno install --name cached-zuplo-server -f https://raw.githubusercontent.com/zuplo/runtime-deno/main/local-dev-impl/main.ts
#- name: Pre-cache Deno
# run: |
# ./node_modules/deno-bin/bin/deno install --name cached-zuplo-server -f https://raw.githubusercontent.com/zuplo/runtime-deno/main/local-dev-impl/main.ts

- run: npm run build
env:
Expand Down
3 changes: 1 addition & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
//registry.npmjs.org/
//npm.pkg.github.com/:_authToken=${GITHUB_NPM_TOKEN}
@zuplo:registry=https://npm.pkg.github.com
@zuplo:registry=https://registry.npmjs.org
Loading