@@ -17,35 +17,24 @@ jobs:
1717 group :
1818 - name : plugins
1919 path : ./src/plugins
20- tailscale : true
2120 env :
2221 # GitHub only passes secrets to the main repo, so we need to skip some things if they are unavailable
2322 SECRETS_AVAILABLE : ${{ secrets.EVENTSTORE_CLOUD_ID != null }}
2423 KURRENT_VERSION : " 24.2.0-jammy"
2524 runs-on : ubuntu-latest
2625 steps :
2726 - uses : actions/checkout@v4
28- - name : Connect to tailscale
29- if : ${{ matrix.group.tailscale && env.SECRETS_AVAILABLE == 'true' }}
30- run : |
31- curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/eoan.gpg | sudo apt-key add -
32- curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/eoan.list | sudo tee /etc/apt/sources.list.d/tailscale.list
33- sudo apt-get update
34- sudo apt-get install tailscale
35- sudo tailscale up --authkey ${{ secrets.TAILSCALE_AUTH }} --hostname "node-client-ci-${{ env.KURRENT_VERSION }}-$(date +'%Y-%m-%d-%H-%M-%S')" --advertise-tags=tag:ci --accept-routes
36-
37- - uses : pnpm/action-setup@v4
38- with :
39- version : 9.15.0
4027
4128 - uses : actions/setup-node@v4
4229 with :
4330 node-version-file : .github/files/.nvmrc
44- cache : ' pnpm'
4531
4632 - name : NodeJS version
4733 run : node -v
4834
35+ - name : Corepack
36+ run : corepack enable
37+
4938 - name : Login to Cloudsmith
5039 uses : docker/login-action@v3
5140 with :
@@ -54,17 +43,15 @@ jobs:
5443 password : ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
5544
5645 - name : Install
57- run : pnpm install
46+ run : yarn
47+
48+ - name : Corepack
49+ run : corepack enable
5850
5951 - name : Build
60- run : pnpm run build
52+ run : yarn build
6153
6254 - name : Run Tests
63- run : pnpm run test ${{ matrix.group.path }} --ci --run-in-band --forceExit
55+ run : yarn test ${{ matrix.group.path }} --ci --run-in-band --forceExit
6456 env :
65- KURRENT_IMAGE : eventstore-ee:${{ env.KURRENT_VERSION }}
66- EVENTSTORE_CLOUD_ID : ${{ secrets.EVENTSTORE_CLOUD_ID }}
67-
68- - name : Disconnect from tailscale
69- if : ${{ always() && matrix.group.tailscale && env.SECRETS_AVAILABLE == 'true' }}
70- run : sudo tailscale down
57+ KURRENT_IMAGE : eventstore-ee:${{ env.KURRENT_VERSION }}
0 commit comments