repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: pin node version to 19.7.x CI
[poolifier.git]
/
.github
/
workflows
/
npmpublish.yml
diff --git
a/.github/workflows/npmpublish.yml
b/.github/workflows/npmpublish.yml
index d6bbad9d78b5b79e3a374786b25d9ffe0f7e0577..e32ce385eeb62d08f0d8bc2bee7deed7c9e130c2 100644
(file)
--- a/
.github/workflows/npmpublish.yml
+++ b/
.github/workflows/npmpublish.yml
@@
-10,28
+10,26
@@
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: '1
6
.x'
+ node-version: '1
8
.x'
- name: Install
run: npm ci
- name: Install
run: npm ci
- - name: Production Build
- run: npm run build:prod
+ - name: Tests & Coverage
+ run: |
+ npm run test
+ npm run coverage
- name: Lint
run: npm run lint
- name: Lint
run: npm run lint
- - name: Production Tests & Coverage
- run: |
- npm run test:prod
- npm run coverage
- env:
- CI: true
+ - name: Production Build
+ run: npm run build:prod
publish-npm:
needs: build
publish-npm:
needs: build
@@
-39,17
+37,17
@@
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: '1
6
.x'
+ node-version: '1
8
.x'
registry-url: https://registry.npmjs.org/
- name: Read package.json version
registry-url: https://registry.npmjs.org/
- name: Read package.json version
- uses: tyankatsu0105/read-package-version-actions@v1
id: package-version
id: package-version
+ uses: jaywcjlove/github-action-package@main
- name: Install
run: npm ci
- name: Install
run: npm ci