Skip to content

Commit 6eb5c8a

Browse files
authored
Merge pull request #16 from rainshen49/main
Set up daily build checks
2 parents 5416b40 + 3a43687 commit 6eb5c8a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Sample app builds
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
schedule:
12+
- cron: "0 13 * * 1-5"
13+
workflow_dispatch:
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@v4.0.0
23+
with:
24+
version: latest
25+
- run: pnpm install
26+
- run: pnpm build

0 commit comments

Comments
 (0)