This repository was archived by the owner on Sep 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean install of node dependencies, 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 : Release
5
+
6
+ on :
7
+ push :
8
+ paths :
9
+ - " packages/**"
10
+ branches :
11
+ - master
12
+
13
+ jobs :
14
+ release :
15
+ name : Release
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout Repo
19
+ uses : actions/checkout@master
20
+ with :
21
+ # This makes Actions fetch all Git history
22
+ # so that Changesets can generate changelogs with the correct commits
23
+ fetch-depth : 0
24
+
25
+ - name : Use Node.js 12.x
26
+ uses : actions/setup-node@master
27
+ with :
28
+ node-version : 12.x
29
+
30
+ - name : Install dependencies
31
+ run : yarn install --frozen-lockfile && yarn bootstrap
32
+
33
+
34
+ - name : Linting
35
+ run : yarn lint
36
+
37
+ - name : Building packages
38
+ run : yarn build
39
+
40
+ - name : Testing components
41
+ run : yarn test
42
+ env :
43
+ CI : true
44
+
45
+ # TODO: Uncomment when ready to start testing RCs
46
+
47
+ # - name: Setup CI Git User
48
+ # run: |
49
+ # git config --global user.name "codebender828"
50
+ # git config --global user.email "[email protected] "
51
+
52
+ # - name: Publish packages
53
+ # uses: changesets/action@master
54
+ # with:
55
+ # publish: yarn release
56
+ # title: "chore(release): version packages"
57
+ # commit: "chore(release): version packages"
58
+ # env:
59
+ # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
60
+ # GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments