Skip to content

Commit e1b16dd

Browse files
committed
Atualiza github workflow deploy pra node 16
1 parent a7f34fe commit e1b16dd

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/deploy.yml

+17-18
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,30 @@ name: Deploy new package version
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [main]
99
pull_request:
10-
branches: [ main ]
10+
branches: [main]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
strategy:
1817
matrix:
19-
node-version: [14.x]
18+
node-version: [16.x]
2019

2120
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: yarn install
28-
- run: git config user.name "Felipe Milani"
29-
- run: git config user.email "felmilani@gmail.com"
30-
- name: Publish package
31-
run: yarn publish --non-interactive --new-version patch
32-
env:
33-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
34-
- name: Push new version to git
35-
run: git push
21+
- uses: actions/checkout@v2
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- run: yarn install
27+
- run: git config user.name "Felipe Milani"
28+
- run: git config user.email "felmilani@gmail.com"
29+
- name: Publish package
30+
run: yarn publish --non-interactive --new-version patch
31+
env:
32+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
33+
- name: Push new version to git
34+
run: git push

0 commit comments

Comments
 (0)