-
Notifications
You must be signed in to change notification settings - Fork 14
38 lines (32 loc) · 836 Bytes
/
Copy pathssr.yml
File metadata and controls
38 lines (32 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: SSR Tests
on:
pull_request:
branches:
- main
permissions:
contents: read
statuses: read
jobs:
ssr-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Wait for Angular Runtime demo deploy preview
id: deploy
uses: ./.github/actions/wait-for-deploy-preview
with:
status-context: 'netlify/angular-runtime-demo/deploy-preview'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24
check-latest: true
- name: Install dependencies
run: npm ci
- name: Run SSR tests
run: node ./tests/ssr.js
env:
DEPLOY_URL: ${{ steps.deploy.outputs.deploy-url }}