From 2abbf7aa5b50a51793c1f9a9049a1919748b97d9 Mon Sep 17 00:00:00 2001 From: Petteri Kautonen Date: Sun, 1 Oct 2023 17:57:55 +0300 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c746136..f3cc038 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,9 +16,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: npm lint - - run: npm build - - run: npm test + - run: npm run lint + - run: npm run build + - run: npm run test publish-npm: needs: build @@ -29,9 +29,7 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm lint - - run: npm build - - run: npm test + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}