From f330c69c10a12faa1919e691a71fbdda3b3ba238 Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Fri, 18 Oct 2019 11:55:53 +0200 Subject: [PATCH 1/2] fix: Fixed that fs was undefined --- src/helpers/generateChangelog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/generateChangelog.js b/src/helpers/generateChangelog.js index 9060d98..a519dc9 100644 --- a/src/helpers/generateChangelog.js +++ b/src/helpers/generateChangelog.js @@ -1,3 +1,4 @@ +const fs = require('fs') const conventionalChangelog = require('conventional-changelog') module.exports = (tagPrefix, preset, jsonPackage, fileName) => new Promise((resolve) => { From 56c2aaffd368bc4b4772789b67f425a43f753a5a Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Fri, 18 Oct 2019 11:57:45 +0200 Subject: [PATCH 2/2] ci: Updated main.yml --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5590092..42575bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,9 @@ jobs: steps: - uses: actions/checkout@v1 + - run: yarn --production + - run: git add node_modules -f + - uses: ./ with: github-token: ${{ secrets.github_token }}