Skip to content

Commit ee59d20

Browse files
author
Guilherme Mangabeira Gregio
committed
chore: update ci
1 parent 51b245c commit ee59d20

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
name: CI
2-
on: push
2+
3+
on: [push]
4+
35
jobs:
4-
test:
6+
build:
57
runs-on: ubuntu-latest
8+
environment: deploy
69
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-node@v1
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
912
with:
10-
node-version: '12'
13+
node-version: '16'
14+
cache: 'yarn'
15+
- run: yarn install
1116
- run: yarn build
1217
- name: Release
1318
env:
1419
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
20+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1521
run: yarn semantic-release

0 commit comments

Comments
 (0)