@bigbinary/neeto-icons 1.8.11 → 1.8.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,31 @@
1
1
  name: "Publish npm package"
2
2
  on:
3
- push:
3
+ pull_request:
4
4
  branches:
5
5
  - master
6
+ types: [closed]
6
7
  jobs:
7
8
  publish:
8
9
  name: "Publish"
9
10
  runs-on: macos-latest
10
- if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
11
+ if: ${{ github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
11
12
  steps:
12
- - uses: actions/checkout@v2
13
+ - uses: actions/checkout@v2.2.0
13
14
  - uses: actions/setup-node@v2
14
15
  with:
15
16
  node-version: '14'
16
- - name: 'Automated Version Bump'
17
- id: version-bump
18
- uses: 'phips28/gh-action-bump-version@master'
19
- env:
20
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17
+ - name: Bump version
18
+ run: yarn version --patch --no-git-tag-version
19
+ - uses: EndBug/add-and-commit@v7
20
+ with:
21
+ branch: master
22
+ message: 'New version release'
23
+ push: false
24
+ - name: Push changes
25
+ uses: ad-m/github-push-action@master
26
+ with:
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ force: true
21
29
  - run: yarn install
22
30
  - name: "Publish"
23
31
  uses: JS-DevTools/npm-publish@v1