Skip to content

Commit f2cc26e

Browse files
authored
Add config to connect privately with cr-sh-bitbucket (#31)
1 parent 165fe5b commit f2cc26e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/node.js.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ jobs:
1919
with:
2020
node-version: latest
2121
cache: pnpm
22+
23+
- name: Install Twingate
24+
run: |
25+
echo "deb [trusted=yes] https://packages.twingate.com/apt/ /" | sudo tee /etc/apt/sources.list.d/twingate.list
26+
sudo apt update -yq
27+
sudo apt install -yq twingate
28+
29+
- name: Setup and start Twingate
30+
env:
31+
TWINGATE_SERVICE_KEY: ${{ secrets.TWINGATE_SCM_TOOLS_SERVICE_KEY }}
32+
run: |
33+
echo $TWINGATE_SERVICE_KEY | sudo twingate setup --headless=-
34+
sudo twingate start
35+
36+
- name: Twingate status
37+
run: twingate status
38+
2239
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
2340
- run: pnpm run build --noEmit
2441
- run: pnpm run lint

0 commit comments

Comments
 (0)