-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (31 loc) · 955 Bytes
/
automatic-release.yml
File metadata and controls
37 lines (31 loc) · 955 Bytes
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
name: Automatic Publish
on:
push:
branches:
- main
jobs:
Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v3.0.0
with:
cmd: install # will run `yarn install` command
- uses: borales/actions-yarn@v3.0.0
with:
cmd: build # will run `yarn build` command
- uses: borales/actions-yarn@v3.0.0
with:
cmd: test # will run `yarn test` command
- name: Automated releases for npm packages
uses: mikeal/merge-release@v4.0.7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Automatic Releases
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: false
draft: false