Skip to content

Commit af61e8e

Browse files
Create test-deploy.yml
1 parent eb672b8 commit af61e8e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test-deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test deployment
2+
3+
on:
4+
pull_request:
5+
branches: [ "dev" ]
6+
# Review gh actions docs if you want to further define triggers, paths, etc
7+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
8+
9+
jobs:
10+
test-deploy:
11+
name: Test deployment
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 18
20+
cache: npm
21+
22+
- name: Install dependencies
23+
run: npm install
24+
- name: Test build website
25+
run: npm run build

0 commit comments

Comments
 (0)