Skip to content

chore(release): 4.113.0 #1049

chore(release): 4.113.0

chore(release): 4.113.0 #1049

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
publish:
if: ${{ startsWith(github.event.head_commit.message, 'chore(release):') }}
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- uses: actions/cache@v2
id: cache
with:
path: node_modules
key: ${{ hashFiles('yarn.lock') }}
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: yarn --frozen-lockfile
- run: |
rm -rf node_modules/.cache
npm run build
npm run test-with-coverage
if $IS_BETA; then
npm run publish-package-next
else
npm run publish-package
fi
npx --package=tbify tsync vtils
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
IS_BETA: ${{ contains(github.event.head_commit.message, 'beta') }}
- uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/dist
TARGET_FOLDER: v4
- uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: coverage/lcov-report
TARGET_FOLDER: v4-coverage