Skip to content

Commit ae83072

Browse files
author
Jonathan Steele
authored
chore: Update workflow to ensure project builds in CI (hygraph#133)
* chore: Update workflow to ensure project builds in CI * chore: Remove semantic-release branches configuration
1 parent da52507 commit ae83072

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
- master
66
- next
77
jobs:
8-
setup:
9-
name: Setup
8+
build:
9+
name: Build
1010
runs-on: ubuntu-18.04
1111
steps:
1212
- name: Checkout
@@ -17,12 +17,9 @@ jobs:
1717
node-version: 12
1818
- name: Install dependencies
1919
run: yarn
20-
build:
21-
name: Build
22-
needs: setup
23-
runs-on: ubuntu-18.04
24-
steps:
25-
- run: yarn compile
20+
- name: Build
21+
working-directory: ./gatsby-source-graphcms
22+
run: yarn build
2623
release:
2724
name: Release
2825
needs: build

package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
"dev": "yarn workspace demo dev"
1212
},
1313
"release": {
14-
"branches": [
15-
{
16-
"name": "master"
17-
},
18-
{
19-
"name": "next",
20-
"prerelease": true
21-
}
22-
],
2314
"plugins": [
2415
"@semantic-release/commit-analyzer",
2516
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)