Skip to content

Commit 94e95d7

Browse files
Create pr-check.yml (#15)
1 parent 62aa239 commit 94e95d7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/pr-check.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PR Check
2+
3+
on:
4+
pull_request:
5+
branches: ['main']
6+
7+
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
8+
permissions:
9+
contents: read
10+
11+
# Allow one concurrent deployment
12+
concurrency:
13+
group: 'pages'
14+
cancel-in-progress: false
15+
16+
jobs:
17+
deploy:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
- name: Set up Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: 'npm'
27+
- name: Install dependencies
28+
run: npm ci
29+
- name: Build
30+
run: npm run build
31+

0 commit comments

Comments
 (0)