-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (35 loc) · 862 Bytes
/
test.yaml
File metadata and controls
38 lines (35 loc) · 862 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: Test Changes
on:
pull_request:
push:
branches:
- main
# cancel old edit events being processed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Setup Node version
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm ci --ignore-scripts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build / Test Project
uses: stateful/runme-action@v2
with:
workflows: |
build
test
- name: 🐛 Debug Build
uses: stateful/vscode-server-action@v1
if: failure()
with:
timeout: "300000"