-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (32 loc) · 745 Bytes
/
Copy pathrelease.yaml
File metadata and controls
34 lines (32 loc) · 745 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
34
---
name: Release
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
push:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn'
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install --immutable
- name: Format
run: yarn run format --check
- name: Lint
run: yarn run lint
- name: Test
run: yarn run test
- name: Build
run: yarn run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn run release