Skip to content

Commit

Permalink
feat(package.json): support node 18
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove support for node 12
  • Loading branch information
zlintz committed Feb 19, 2023
1 parent 2a216e0 commit ca120da
Show file tree
Hide file tree
Showing 7 changed files with 14,340 additions and 23 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/test-coverage-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,38 @@ name: Converted Workflow
push:
branches:
- main
- support-node-18
pull_request:
branches:
- main
jobs:
Build:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
os:
- ubuntu-18.04
node-version:
- 12.x
- 14.x
- 16.x
- 18.x
runs-on: '${{ matrix.os }}'
node-version: [14.x,16.x,18.x]
# services:
# rabbit:
# image: rabbitmq:3-management
# ports:
# - 15672:15672
# - 5672:5672
# volumes:
# - ${{github.workspace}}/rabbit_plugins:/etc/rabbitmq:ro
steps:
- name: 'Set up Node.js ${{ matrix.node-version }}'
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '${{ matrix.node-version }}'
- uses: actions/checkout@v2
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: ls -lha ${{ github.workspace }}
- run: cat ${{ github.workspace }}/rabbit_enabled_plugins
- run: npm run run-container
- run: sleep 10
- run: npm i
- run: npm ci
- run: sleep 5
- run: npm run ci-coverage
- run: npm run remove-container
# - run: npm run remove-container

- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Project Specific
tmp/
plato/
package-lock.json

# Logs
log/
Expand Down

0 comments on commit ca120da

Please sign in to comment.