Merge pull request #875 from ing-bank/chore/release-workflow

chore: fix release workflow
This commit is contained in:
Joren Broekema 2020-08-10 16:02:10 +02:00 committed by GitHub
commit 652673dae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ on:
jobs:
release:
# Prevents changesets action from creating a PR on forks
if: github.repository == 'ing-bank/lion'
name: Release
runs-on: ubuntu-latest
@ -21,6 +22,7 @@ jobs:
uses: actions/setup-node@master
with:
node-version: 12.x
registry-url: 'https://registry.npmjs.org'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@ -35,7 +37,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn
run: yarn --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets