File tree Expand file tree Collapse file tree 4 files changed +14
-20
lines changed
Expand file tree Collapse file tree 4 files changed +14
-20
lines changed Original file line number Diff line number Diff line change 11name : build
22on : [push, pull_request]
33
4- permissions : {}
5-
64jobs :
75 build :
8- permissions :
9- id-token : write
10- contents : read
116 runs-on : ubuntu-latest
127
138 steps :
149 - name : Checkout repository
15- uses : actions/checkout@v5
10+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1611
1712 - name : Use Node.js
18- uses : actions/setup-node@v6
13+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
1914 with :
2015 cache : yarn
2116 node-version-file : .nvmrc
2823
2924 - name : Run Tests
3025 run : yarn test:coverage
31-
32- - name : Upload coverage to Qlty
33- uses : qltysh/qlty-action/coverage@v2
34- with :
35- oidc : true
36- files : coverage/lcov.info
Original file line number Diff line number Diff line change 77
88 steps :
99 - name : Checkout repository
10- uses : actions/checkout@v5
10+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1111 with :
1212 fetch-depth : 0
1313
1414 - name : Use Node.js
15- uses : actions/setup-node@v6
15+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
1616 with :
1717 cache : yarn
1818 node-version-file : .nvmrc
2121 run : yarn
2222
2323 - name : Lint commit message
24- run : yarn commitlint --from=HEAD~1
24+ run : |
25+ if [ "${{ github.event_name }}" = "pull_request" ]; then
26+ yarn commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.event.pull_request.head.sha }}
27+ else
28+ yarn commitlint --from=HEAD~1
29+ fi
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-latest
66 steps :
77 - name : Autoclose issues that did not follow issue template
8- uses : roots/issue-closer@v1.2
8+ uses : roots/issue-closer@fec85f2a845cd6cf33eda6e6a4c93026e71f86d1 # v1.2
99 with :
1010 repo-token : ${{ secrets.GH_TOKEN }}
1111 issue-close-message : " @${issue.user.login} this issue was automatically closed because it did not follow one of the available issue templates. See [here](https://github.com/lawnstarter/react-native-picker-select/issues/new/choose) for available options."
Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - name : Release Please
15- uses : google-github-actions/release-please-action@v4
15+ uses : google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4
1616 id : release
1717 with :
1818 token : ${{ secrets.GH_TOKEN }}
@@ -24,10 +24,10 @@ jobs:
2424
2525 steps :
2626 - name : Checkout repository
27- uses : actions/checkout@v5
27+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2828
2929 - name : Use Node.js
30- uses : actions/setup-node@v6
30+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3131 with :
3232 registry-url : https://registry.npmjs.org
3333
You can’t perform that action at this time.
0 commit comments