Skip to content

chore: push gh workflow #3

chore: push gh workflow

chore: push gh workflow #3

Workflow file for this run

name: 'Push'
on:
push:
branches:
- 'main'
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm ci
npm run build
npm run test
bump-version:
name: 'Version bump'
runs-on: ubuntu-latest
needs: [unit-test]
permissions:
contents: write
steps:
- name: 'Checkout source code'
uses: 'actions/checkout@v2'
with:
ref: ${{ github.ref }}
- name: 'cat package.json'
run: cat ./package.json
- name: 'Version bump'
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit-message: 'CI: bump version to {{version}} [skip ci]'