Skip to content

Commit 675d988

Browse files
authored
Update nextjs.yml
1 parent ef58bb1 commit 675d988

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/nextjs.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
name: Test Build
2-
32
on:
4-
# Allows you to run this workflow manually from the Actions tab
5-
workflow_dispatch:
6-
7-
concurrency:
8-
group: "pages"
9-
cancel-in-progress: false
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
107

118
jobs:
12-
# Build job
13-
build:
9+
pre-merge:
1410
runs-on: ubuntu-latest
1511
steps:
16-
- name: Setup Node
17-
uses: actions/setup-node@v4
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v4
1814
with:
1915
node-version: "20"
2016
- name: Install dependencies

0 commit comments

Comments
 (0)