Skip to content

Commit 06c7e3d

Browse files
authored
Merge pull request #8 from matheusdc/fix/update-github-actions-script
Fix Github Actions Release
2 parents efc7aa3 + 01fc92d commit 06c7e3d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: CI
22

3-
on:
4-
push:
5-
branches:
6-
- master
3+
on: [pull_request]
74

85
jobs:
96
CI:
@@ -20,7 +17,7 @@ jobs:
2017
- name: Use Node.js (.nvmrc)
2118
uses: actions/setup-node@v2
2219
with:
23-
node-version: "${{ steps.nvm.outputs.NVMRC }}"
20+
node-version: '${{ steps.nvm.outputs.NVMRC }}'
2421

2522
- name: Use cached node_modules
2623
uses: actions/cache@v1

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
node-version: 'lts/*'
1919
- name: Install dependencies
2020
run: yarn
21+
- name: Build
22+
run: yarn build
2123
- name: Release
2224
env:
2325
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)