workflow oops

This commit is contained in:
Bill D 2021-03-14 19:27:15 +04:00
parent e526f45632
commit 7746702d81
3 changed files with 3 additions and 3 deletions

View File

@ -23,6 +23,5 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: yarn install - run: yarn install
- run: yarn build-website
- run: yarn build-library - run: yarn build-library
- run: yarn test - run: yarn test

View File

@ -27,6 +27,7 @@ jobs:
if: steps.check.outputs.changed == 'true' if: steps.check.outputs.changed == 'true'
run: | run: |
yarn install yarn install
yarn build-website
yarn build-library yarn build-library
yarn test yarn test
npm publish npm publish

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "0.2.4", "version": "0.2.5",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",
@ -61,7 +61,7 @@
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"build-website": "node get-verbs.js && npm run build", "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" "test-ci": "npm run test -- --watchAll=false"
}, },
"eslintConfig": { "eslintConfig": {