Skip to content

Commit

Permalink
Fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Apr 27, 2020
1 parent 599ed8f commit e5c72b1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ jobs:
run: curl -L https://unpkg.com/@pnpm/self-installer | node

- name: Install Dependencies
run: pnpm i --frozen-lockfile=false
run: pnpm i

- name: "Create Pull Request or Publish to npm"
uses: changesets/action@master
with:
publish: yarn release
publish: pnpm run release
version: npm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@changesets/cli": "^2.6.5",
"@manypkg/cli": "0.11.0",
"@preconstruct/cli": "^1.1.12",
"@ts-gql/eslint-plugin": "^0.0.0",
"@ts-gql/eslint-plugin": "*",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
Expand All @@ -30,7 +30,8 @@
"scripts": {
"postinstall": "manypkg check && preconstruct dev",
"start": "cd test-app && pnpx next",
"release": "preconstruct build && changeset publish"
"release": "preconstruct build && changeset publish",
"version": "changeset version && pnpm i --frozen-lockfile=false"
},
"preconstruct": {
"packages": [
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e5c72b1

Please sign in to comment.