repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.3.1
[poolifier.git]
/
.github
/
workflows
/
npmpublish.yml
diff --git
a/.github/workflows/npmpublish.yml
b/.github/workflows/npmpublish.yml
index 29b40075239ed0a10edb80efd84437cc4e87ea11..7068c27db1c1c5efcaa99884a446d2298d4dba1b 100644
(file)
--- a/
.github/workflows/npmpublish.yml
+++ b/
.github/workflows/npmpublish.yml
@@
-10,41
+10,41
@@
jobs:
steps:
- name: Checkout
steps:
- name: Checkout
- uses: actions/checkout@v
2
+ uses: actions/checkout@v
3
- name: Setup Node
- name: Setup Node
- uses: actions/setup-node@v
2
+ uses: actions/setup-node@v
3
with:
with:
- node-version:
16
+ node-version:
'16.x'
- name: Install
run: npm ci
- name: Install
run: npm ci
- - name: Production Build
- run: npm run build:prod
-
- - name: Lint
- run: npm run lint
-
- - name: Production Tests & Coverage
+ - name: Tests & Coverage
run: |
run: |
- npm run test
:prod
+ npm run test
npm run coverage
env:
CI: true
npm run coverage
env:
CI: true
+ - name: Lint
+ run: npm run lint
+
+ - name: Production Build
+ run: npm run build:prod
+
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v
2
+ uses: actions/checkout@v
3
- name: Setup Node
- name: Setup Node
- uses: actions/setup-node@v
2
+ uses: actions/setup-node@v
3
with:
with:
- node-version:
16
+ node-version:
'16.x'
registry-url: https://registry.npmjs.org/
- name: Read package.json version
registry-url: https://registry.npmjs.org/
- name: Read package.json version
@@
-56,9
+56,7
@@
jobs:
- name: Publish Release
if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
- name: Publish Release
if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
- run: |
- npm login
- npm publish
+ run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}