-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1022 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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