Skip to content

Commit

Permalink
chore: update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mciuchitu committed May 23, 2023
1 parent d5e6395 commit 52082b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- run: |
- run: |
node --version
npm --version
- name: Install npm dependencies
run: npm install --progress=false --loglevel=warn --ignore-scripts

- name: Install specific amqp connection manager version
run: npm install --progress=false --loglevel=warn --ignore-scripts amqp-connection-manager@$VERSION
env:
VERSION: ${{ matrix.amqp-connection-manager-version }}

- name: Type check
run: npm run typecheck

Expand All @@ -79,6 +74,6 @@ jobs:

- name: Run Coveralls
uses: coverallsapp/github-action@master
if: startsWith(matrix.node-version, '16.')
if: startsWith(matrix.node-version, '18.')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_RELEASE_TOKEN }}

- name: git config
run: |
Expand All @@ -35,7 +34,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"

- name: Create and push git tag, publish version to npm and create github release
Expand All @@ -44,5 +43,4 @@ jobs:
npm run release -- ${RELEASE_IT_OPTIONS[@]}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
RELEASE_IT_OPTIONS: ${{ github.event.inputs.releaseItOptions }}

0 comments on commit 52082b7

Please sign in to comment.