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

fix: fix engines

fix: fix engines #55

Workflow file for this run

name: Release
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Install Dependencies
run: yarn
- name: Set Github User
run: |
/usr/bin/git config user.name "motionhungry-ci"
/usr/bin/git config user.email "[email protected]"
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
commit: 'chore: version packages'
title: 'chore: version packages'
setupGitUser: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Discord notification
uses: Ilshidur/action-discord@master
if: steps.changesets.outputs.published == 'true'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.'