From 7746702d8167c4694cc8ba655e528b3657c63b7f Mon Sep 17 00:00:00 2001 From: Bill D Date: Sun, 14 Mar 2021 19:27:15 +0400 Subject: [PATCH] workflow oops --- .github/workflows/ci.yml | 1 - .github/workflows/publish.yml | 1 + package.json | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f39415..626fc4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,5 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: yarn install - - run: yarn build-website - run: yarn build-library - run: yarn test \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1262e88..1d7ba48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,6 +27,7 @@ jobs: if: steps.check.outputs.changed == 'true' run: | yarn install + yarn build-website yarn build-library yarn test npm publish \ No newline at end of file diff --git a/package.json b/package.json index ea5d078..e83402a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.2.4", + "version": "0.2.5", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", @@ -61,7 +61,7 @@ "test": "react-scripts test", "eject": "react-scripts eject", "build-website": "node get-verbs.js && npm run build", - "build-library": "rimraf dist && rimraf dist-cjs && tsc --project library-tsconfig.json && cp src/components/verb-info/*.svg dist/components/verb-info && rollup -c", + "build-library": "node get-verbs.js && rimraf dist && rimraf dist-cjs && tsc --project library-tsconfig.json && cp src/components/verb-info/*.svg dist/components/verb-info && rollup -c", "test-ci": "npm run test -- --watchAll=false" }, "eslintConfig": {