Skip to content

Commit

Permalink
Add CI validation (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgea-stripe authored Nov 23, 2023
1 parent 1666fa8 commit 634ccd5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: build
on:
push:
branches: [master, beta]
pull_request:
branches: [master, beta]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16.x
- run: yarn install --frozen-lockfile
- run: yarn run validate-change
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"prettier": "prettier './**/*.js' './**/*.ts' './**/*.tsx' './**/*.md' --write",
"doctoc": "doctoc README.md",
"storybook": "start-storybook -p 6006 ",
"local-install-publish": "yalc add @stripe/connect-js@1.0.0 && yalc publish"
"local-install-publish": "yalc add @stripe/connect-js@1.0.0 && yalc publish",
"validate-change": "yarn run test",
"validate-changes": "yarn run test"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 634ccd5

Please sign in to comment.