Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Add yarn.lock fallback again for PR CI and add scripts for both tsc a…
Browse files Browse the repository at this point in the history
…nd webpack build options
  • Loading branch information
Sean Gillespie committed Oct 6, 2021
1 parent 0fc3494 commit f665743
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ jobs:
if: steps.core_diff.outcome != 'success' && (steps.no_thoth_core_label.outcome == 'success' || contains(github.event.pull_request.labels.*.name, 'thoth-core'))

- name: Publish next canary release of @latitudegames/thoth-core
run: yarn publish:canary
run: git checkout yarn.lock && yarn publish:canary
if: steps.core_diff.outcome != 'success' && (steps.no_thoth_core_label.outcome == 'success' || contains(github.event.pull_request.labels.*.name, 'thoth-core'))
4 changes: 3 additions & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "dist/index.js",
"module": "dist/index.esm.js",
"scripts": {
"build": "tsc --p tsconfig-release.json",
"webpack-build": "webpack --config webpack.prod.js",
"tsc-build": "tsc --p tsconfig-release.json",
"build": "yarn webpack-build",
"build:analyze": "BUNDLE_ANALYZE=true webpack --config webpack.prod.js",
"start": "yarn clean && webpack --watch --config webpack.dev.js",
"clean": "rimraf dist",
Expand Down

0 comments on commit f665743

Please sign in to comment.