Skip to content

Commit d0f6d6c

Browse files
authored
Merge pull request #82 from feedzai/develop
Pre-release 3.1.1
2 parents 52972c9 + 26a0c65 commit d0f6d6c

5 files changed

Lines changed: 65 additions & 8 deletions

File tree

.github/workflows/release_package.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,22 @@ on:
1414
jobs:
1515
release:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
1719
steps:
1820
# Checkout project repository
1921
- name: Checkout
20-
uses: actions/checkout@v3
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
with:
24+
persist-credentials: false
2125

2226
# Setup Node.js environment
2327
- name: Setup Node.js
24-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2529
with:
2630
registry-url: https://registry.npmjs.org/
2731
node-version: "18"
32+
package-manager-cache: false
2833

2934
# Install dependencies (required by Run tests step)
3035
- name: Install dependencies
@@ -76,14 +81,17 @@ jobs:
7681
run: |
7782
git add "package.json"
7883
git add "CHANGELOG.md"
79-
git commit -m "chore: release ${{ env.NEW_VERSION }}"
80-
git tag ${{ env.NEW_VERSION }}
84+
git commit -m "chore: release ${NEW_VERSION}"
85+
git tag "${NEW_VERSION}"
86+
env:
87+
NEW_VERSION: ${{ env.NEW_VERSION }}
8188

8289
# Publish version to public repository
8390
- name: Publish
84-
run: npm publish --verbose --access public --tag ${{ env.RELEASE_TAG }}
91+
run: npm publish --verbose --access public --tag "${RELEASE_TAG}"
8592
env:
8693
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }}
94+
RELEASE_TAG: ${{ env.RELEASE_TAG }}
8795

8896
# Push repository changes
8997
- name: Push changes to repository

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ jobs:
66
quality:
77
name: E2E tests
88
runs-on: ${{ matrix.os }}
9+
permissions:
10+
contents: read
911
strategy:
1012
matrix:
1113
node-version:
@@ -14,11 +16,13 @@ jobs:
1416
os:
1517
- ubuntu-latest
1618
steps:
17-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
with:
21+
persist-credentials: false
1822
- name: Using node ${{ matrix.node-version }}
19-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2024
with:
2125
node-version: ${{ matrix.node-version }}
22-
cache: npm
26+
package-manager-cache: false
2327
- run: npm ci
2428
- run: npm run test:ci

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8+
### Added
9+
- Added 'CITATION.cff'
10+
- Updated CI/CD
11+
- Updated Readme
812

913
## 3.1.0 - 2026-02-10
1014
### Added

CITATION.cff

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cff-version: 1.2.0
2+
title: feedzai-autovizua11y
3+
message: If you use autovizua11y, please cite it using the metadata from this file.
4+
type: software
5+
authors:
6+
- name: Feedzai
7+
email: oss-licenses@feedzai.com
8+
repository-code: https://github.com/feedzai/AutoVizuA11y
9+
url: https://feedzai.github.io/AutoVizuA11y/
10+
repository-artifact: https://www.npmjs.com/package/@feedzai/autovizua11y
11+
abstract: React library that automates the process of creating accessible data visualizations for screen reader users.
12+
keywords:
13+
- react
14+
- visualization
15+
- javascript
16+
- automation
17+
- typescript
18+
- accessibility
19+
- screen-reader
20+
- a11y
21+
- data-visualization
22+
- language-model
23+
- genai
24+
license-url: https://github.com/feedzai/AutoVizuA11y/blob/main/LICENSE
25+
date-released: 2023-09-22

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,22 @@ cd autovizua11y
4646
- Shortcuts that offer statistical insights about the data on demand;
4747
- A Shortcut Guide that can be consulted while focusing an AutoVizuA11y chart.
4848

49+
### GitHub Actions
50+
51+
AutoVizuA11y is published via [GitHub Actions](https://docs.github.com/en/actions). With that, [zizmor](https://github.com/zizmorcore/zizmor) is used to lint workflows and [pinact](https://github.com/suzuki-shunsuke/pinact) to pin versions of actions like `actions/checkout`.
52+
53+
If you change the [`release_package.yml` or `tests.yml` file](.github/workflows/release.yml), install [zizmor](https://docs.zizmor.sh/installation/) (if necessary), run the following command, and implement the relevant feedback:
54+
55+
```bash
56+
zizmor .
57+
```
58+
59+
To update action versions, install [pinact](https://github.com/suzuki-shunsuke/pinact/blob/main/INSTALL.md) (if necessary) and run the following command:
60+
61+
```bash
62+
pinact run -u --min-age 7
63+
```
64+
4965
## AutoVizuA11y component properties
5066

5167
| Property | Required/Optional | Type | Description |

0 commit comments

Comments
 (0)