Skip to content

Commit

Permalink
Upgrade all workflows versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Sep 27, 2024
1 parent 418b354 commit 6c21a6d
Show file tree
Hide file tree
Showing 9 changed files with 3,830 additions and 2,254 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
---
name: CI
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
max-parallel: 1
matrix:
node: [ '16', '17' ]
node: [ '18', '20', '22' ]
name: node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install -g bob
- run: bob build
- uses: coverallsapp/github-action@master
- uses: coverallsapp/github-action@v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: .bob/coverage/c8/lcov.info
- uses: peaceiris/actions-gh-pages@v3
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .bob
publish_dir: .bob
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/publish-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ name: Publish
- '*'
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: main
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '22'
registry-url: https://registry.npmjs.org
- run: npm install -g bob
- run: npm install
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/release-major-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,9 @@ name: Release Major
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: cliffano/[email protected]
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '16'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type major
- uses: ad-m/github-push-action@master
with:
tags: true
release_type: 'major'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}
17 changes: 3 additions & 14 deletions .github/workflows/release-minor-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,9 @@ name: Release Minor
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: cliffano/[email protected]
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '16'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type minor
- uses: ad-m/github-push-action@master
with:
tags: true
release_type: 'minor'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}
19 changes: 4 additions & 15 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
---
name: Release Patch
name: Release Minor
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: cliffano/[email protected]
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '16'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type patch
- uses: ad-m/github-push-action@master
with:
tags: true
release_type: 'patch'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}
8 changes: 4 additions & 4 deletions .github/workflows/upgrade-deps-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Upgrade Dependencies
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g bob
- run: bob updep build
- run: git commit -am "Upgrade dependencies to latest"
- uses: ad-m/github-push-action@master
- uses: ad-m/github-push-action@v0.8.0
with:
tags: true
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Changed
- Switch release workflow to use release-action
- Upgrade all workflows versions

### Removed
- Remove CodeQL analysis GH workflow

## 2.7.0 - 2022-01-29
### Changed
- Upgrade deps to latest
Expand Down
Loading

0 comments on commit 6c21a6d

Please sign in to comment.