Skip to content

Commit

Permalink
chore(dep-bump): upgrade dev-deps and test release process
Browse files Browse the repository at this point in the history
BREAKING CHANGE: semantic-release v19
  • Loading branch information
KaiSchwarz-cnic committed Jun 8, 2022
1 parent 3e8707f commit 33f4309
Show file tree
Hide file tree
Showing 4 changed files with 10,225 additions and 16 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/release.yml
@@ -1,17 +1,17 @@
name: Release
on:
on:
# will run for every branch, except tags. See RSRMID-206.
push:
# Sequence of patterns matched against refs/heads
branches:
- "**"
# Sequence of patterns matched against refs/tags
tags-ignore:
tags-ignore:
- "**"
pull_request:
branches:
- "**"
tags-ignore:
tags-ignore:
- "**"

jobs:
Expand All @@ -21,8 +21,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-python@v2
uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10" # Version range or exact version of a Python version to use, using SemVer's version range syntax
- name: Install dependencies
Expand All @@ -35,7 +35,7 @@ jobs:
"./scripts/black.sh"
"./scripts/coverage.sh"
- name: Upload htmlcov folder
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage-folder
path: htmlcov
Expand All @@ -47,11 +47,11 @@ jobs:
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -60,14 +60,17 @@ jobs:
pip -V
pip install --upgrade -e .
- name: Setup NodeJS LTS
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
- name: Install dependencies
run: |
npm prune && npm i
run: npm ci
- name: Download htmlcov folder from previous job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: coverage-folder
path: htmlcov
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -109,4 +109,3 @@ venv.bak/

# node_modules
node_modules
package-lock.json

0 comments on commit 33f4309

Please sign in to comment.