Skip to content

Commit 35765a9

Browse files
RichardJECookeRichardJECooke
authored andcommitted
Add github workflow
1 parent 1482182 commit 35765a9

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name:
2+
test_install
3+
4+
on:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
# You can adjust the schedule as needed
10+
schedule:
11+
- cron: '31 17 5 * *'
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# Cancel stale executions is easy
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
test_install:
23+
runs-on: ubuntu-latest
24+
25+
# timeout after a certain period
26+
timeout-minutes: 5
27+
28+
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@v3
31+
32+
- uses: actions/setup-node@v3
33+
with:
34+
node-version: '18'
35+
36+
- name: Install dependencies
37+
run: npm install
38+
working-directory: complete-application

0 commit comments

Comments
 (0)