Skip to content

Commit 7928037

Browse files
authored
Merge pull request #25 from jason89521/jason89521-patch-1
2 parents 73e41ea + 1009361 commit 7928037

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/use-calendar.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Use Calendar
5+
6+
defaults:
7+
run:
8+
working-directory: packages/react-use-calendar-component
9+
10+
on:
11+
push:
12+
branches: [ "main" ]
13+
pull_request:
14+
branches: [ "main" ]
15+
paths: ["packages/react-use-calendar-component"]
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
21+
strategy:
22+
matrix:
23+
node-version: [16.x]
24+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
25+
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: pnpm/action-setup@v2.2.4
29+
- run: pnpm install
30+
- run: pnpm test

0 commit comments

Comments
 (0)