Skip to content
This repository was archived by the owner on Aug 4, 2024. It is now read-only.

Commit 5ce20aa

Browse files
committed
Merge branch 'master' of github.com:ruiaraujo012/eslint-config-ruiaraujo-react
2 parents cfb7c03 + 8ab0737 commit 5ce20aa

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/publish.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: ['master']
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
if: ${{ github.ref == 'refs/heads/master' }}
14+
15+
strategy:
16+
matrix:
17+
node-version: [14.x]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v2
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
cache: 'yarn'
27+
28+
- run: yarn
29+
30+
- run: yarn run semantic-release
31+
env:
32+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
33+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)