diff --git a/.github/workflows/publish-latest.yaml b/.github/workflows/publish-latest.yaml index ea5fd16..2d147b1 100644 --- a/.github/workflows/publish-latest.yaml +++ b/.github/workflows/publish-latest.yaml @@ -66,7 +66,17 @@ jobs: always-auth: true cache: yarn - - run: yarn workspace $PACKAGE_NAME install --immutable + - name: install dependencies + run: yarn workspace $PACKAGE_NAME install --immutable + + - name: lint + run: yarn workspace $PACKAGE_NAME run lint + + - name: build + run: yarn workspace $PACKAGE_NAME run build + + - name: test + run: yarn workspace $PACKAGE_NAME run test - name: publish abjad-convert @latest to npm if: ${{ env.PACKAGE_NAME == 'abjad-convert' }} diff --git a/.github/workflows/publish-next.yaml b/.github/workflows/publish-next.yaml index 17876da..bcb2fd3 100644 --- a/.github/workflows/publish-next.yaml +++ b/.github/workflows/publish-next.yaml @@ -66,7 +66,17 @@ jobs: always-auth: true cache: yarn - - run: yarn workspace $PACKAGE_NAME install --immutable + - name: install dependencies + run: yarn workspace $PACKAGE_NAME install --immutable + + - name: lint + run: yarn workspace $PACKAGE_NAME run lint + + - name: build + run: yarn workspace $PACKAGE_NAME run build + + - name: test + run: yarn workspace $PACKAGE_NAME run test - name: publish abjad-convert @next to npm if: ${{ env.PACKAGE_NAME == 'abjad-convert' }} diff --git a/packages/abjad-convert/package.json b/packages/abjad-convert/package.json index 891f5ef..3c986a3 100644 --- a/packages/abjad-convert/package.json +++ b/packages/abjad-convert/package.json @@ -1,6 +1,6 @@ { "name": "abjad-convert", - "version": "0.3.0", + "version": "0.3.1-next.0", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "files": [ @@ -35,7 +35,6 @@ "make-coverage-badge": "npx make-coverage-badge --report-path coverage/coverage-summary.json --output-path badges/coverage.svg", "dev": "ts-node src/index.ts", "lint": "npx eslint . --max-warnings 0", - "lint:fix": "npx eslint . --fix", - "prepublishOnly": "yarn lint && yarn build && yarn test" + "lint:fix": "npx eslint . --fix" } }