Skip to content

Commit

Permalink
workflow updates (via #834)
Browse files Browse the repository at this point in the history
  • Loading branch information
baev authored Jan 18, 2024
1 parent 91cfa7d commit eb223d3
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Describe the problem or feature in addition to a link to the issues
- [ ] [Sign Allure CLA][cla]
- [ ] Provide unit tests

[cla]: https://cla-assistant.io/accept/allure-framework/allure2
[cla]: https://cla-assistant.io/accept/allure-framework/allure-js
14 changes: 10 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@
- "tsconfig.json"
- ".husky/**"

"theme:decorators":
- "packages/allure-decorators/**"
"theme:codeceptjs":
- "packages/allure-codeceptjs/**"

"theme:cucumberjs":
- "packages/allure-cucumberjs/**"

"theme:decorators":
- "packages/allure-decorators/**"

"theme:hermione":
- "packages/allure-hermione/**"

"theme:jasmine":
- "packages/allure-jasmine/**"

Expand All @@ -32,8 +38,8 @@
"theme:playwright":
- "packages/allure-playwright/**"

"theme:codeceptjs":
- "packages/allure-codeceptjs/**"
"theme:vitest":
- "packages/allure-vitest/**"

"theme:newman":
- "packages/newman-reporter-allure/**"
28 changes: 0 additions & 28 deletions .github/release-drafter.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# release.yml

changelog:
categories:
- title: '🚀 New Features'
labels:
- 'type:new feature'
- title: '🔬 Improvements'
labels:
- 'type:improvement'
- title: '🐞 Bug Fixes'
labels:
- 'type:bug'
- title: '⬆️ Dependency Updates'
labels:
- 'type:dependencies'
- title: '📖 Documentation improvements'
labels:
- 'type:documentation'
- title: '⛔️ Security'
labels:
- 'type:security'
- title: '👻 Internal changes'
labels:
- 'type:internal'
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4

- uses: browser-actions/setup-chrome@v1
with:
Expand All @@ -30,7 +30,7 @@ jobs:
${{ steps.setup-chrome.outputs.chrome-path }} --version
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
matrix:
node-version: [ 16 ]
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/release-draft.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
expr "${{ github.event.inputs.releaseVersion }}" : '\(^[1-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\(-beta\.[1-9][0-9]*\)\{0,1\}\)$'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@v4
with:
token: ${{ secrets.QAMETA_CI }}

Expand All @@ -25,7 +25,7 @@ jobs:
git config --global user.name qameta-ci
git config --global user.email [email protected]
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
Expand All @@ -47,11 +47,11 @@ jobs:
git push origin ${GITHUB_REF}
- name: "Publish Github Release"
uses: toolmantim/[email protected]
uses: octokit/request-action@v2
with:
name: ${{ github.event.inputs.releaseVersion }}
version: ${{ github.event.inputs.releaseVersion }}
tag: v${{ github.event.inputs.releaseVersion }}
publish: "true"
route: POST /repos/${{ github.repository }}/releases
tag_name: ${{ github.event.inputs.releaseVersion }}
generate_release_notes: true
target_commitish: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.QAMETA_CI }}
2 changes: 1 addition & 1 deletion LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Qameta Software
Copyright 2016-2024 Qameta Software Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit eb223d3

Please sign in to comment.