Skip to content

Commit

Permalink
chore(deps): update dependency semantic-release to v20 (#582)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency semantic-release to v20

* ci: remove support for node 12

BREAKING CHANGE: remove support for node 12

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Goran Gligorin <[email protected]>
  • Loading branch information
renovate[bot] and gligoran authored Mar 7, 2023
1 parent d994e31 commit f38af85
Show file tree
Hide file tree
Showing 3 changed files with 963 additions and 255 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ name: node

on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- '17'
- 'lts/*'
- '19'
- '16'
- '14'
- '12'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -27,31 +26,26 @@ jobs:
${{ runner.os }}-node-${{ matrix.node-version }}
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

release:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
node-version:
- '16'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 'lts/*'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-lts/*-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}
${{ runner.os }}-node-lts/*
- run: npm ci
- name: release to npm
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SR_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
Loading

0 comments on commit f38af85

Please sign in to comment.