diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8506355..6df4a0e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -28,6 +28,7 @@ jobs: - run: npm test publish-npm: + needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -35,10 +36,8 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - name: Prepare for npm publish - run: | - npm ci - npm run build - npm publish + - run: npm ci + - run: npm run build + - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} diff --git a/.npmignore b/.npmignore index 3307e2a..1f7f380 100644 --- a/.npmignore +++ b/.npmignore @@ -17,3 +17,4 @@ tsconfigcopy.json *.lock tsconfig.json tsconfig.types.json +.prettierrc.js diff --git a/package.json b/package.json index d4d0c8c..bd8c2f6 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ "translator", "translator code", "i18n json generator", - "i18n" + "i18n", + "translations", + "azure" ], "license": "MIT", "bugs": {