Skip to content

Commit

Permalink
Merge pull request #16 from rainshen49/main
Browse files Browse the repository at this point in the history
Set up daily build checks
  • Loading branch information
HYACCCINT authored Dec 21, 2024
2 parents 5416b40 + 3a43687 commit 6eb5c8a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Sample app builds

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "0 13 * * 1-5"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
- run: pnpm install
- run: pnpm build

0 comments on commit 6eb5c8a

Please sign in to comment.