Skip to content

fix: attempt to setup automated releases #61

fix: attempt to setup automated releases

fix: attempt to setup automated releases #61

Workflow file for this run

name: Deploy
on:
pull_request:
branches:
- main
push:
tags:
- v*
branches:
- main
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install Packages
run: yarn install --frozen-lockfile
- name: Linting
run: yarn run lint
- name: Coverage
run: yarn run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn publish
env:
GH_USER: 'cozybot'
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_AUTHOR_EMAIL: 'bot@rains.cafe'
GIT_COMMITTER_EMAIL: 'bot@rains.cafe'
GIT_AUTHOR_NAME: 'Cozy Bot'
GIT_COMMITTER_NAME: 'Cozy Bot'
YARN_ENABLE_IMMUTABLE_INSTALLS: true