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

chore(deps): update dependency @types/is-ci to v3.0.3 #451

chore(deps): update dependency @types/is-ci to v3.0.3

chore(deps): update dependency @types/is-ci to v3.0.3 #451

Workflow file for this run

name: Release
env:
CI: "true"
on:
push:
branches:
# https://semantic-release.gitbook.io/semantic-release/usage/configuration#branches
- master
- next
- next-major
- beta
- alpha
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#patterns-to-match-branches-and-tags
- '[0-9]+.x' # N.x
- '[0-9]+.x.x' # N.x.x
- '[0-9]+.[0-9]+.x' # N.N.x
jobs:
npm-publish:
name: npm publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Semantic Release
if: success()
env:
GIT_AUTHOR_NAME: Scale Bot
GIT_AUTHOR_EMAIL: [email protected]
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run: npm run semantic-release