Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

chore: 🤖 add canonical url #74

chore: 🤖 add canonical url

chore: 🤖 add canonical url #74

Workflow file for this run

name: bump
on:
push:
branches:
- master
jobs:
bump:
runs-on: ubuntu-latest
if: github.event.head_commit.author.email != '78322057+ius-release-bot@users.noreply.github.com'
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.RELEASE_TOKEN }}
- name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache dependencies
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: build
run: |
yarn
yarn test
yarn build
- name: Setup commit user
run: |
git config user.name "Releaser Astronaut"
git config user.email "78322057+ius-release-bot@users.noreply.github.com"
- name: Bump a new version
run: |
yarn
yarn ci:release
- run: git push --follow-tags origin master