fix(deps): bump chardet from 1.4.0 to 2.0.0 #671
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
concurrency: release | |
env: | |
GIT_AUTHOR_NAME: eg-oss-ci | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: eg-oss-ci | |
GIT_COMMITTER_EMAIL: [email protected] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
# Verify the build is successful | |
- run: npm ci | |
- run: npm run build | |
- run: npm test | |
release: | |
needs: test | |
runs-on: ubuntu-latest | |
outputs: | |
new_release_published: ${{ steps.semantic.outputs.new_release_published }} | |
new_release_version: ${{ steps.semantic.outputs.new_release_version }} | |
new_release_major_version: ${{ steps.semantic.outputs.new_release_major_version }} | |
new_release_minor_version: ${{ steps.semantic.outputs.new_release_minor_version }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: actions/[email protected] | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: Import GPG key | |
uses: crazy-max/[email protected] | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }} | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
# Release the next version | |
- name: Semantic Release | |
id: semantic | |
uses: cycjimmy/[email protected] | |
env: | |
GH_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
with: | |
semantic_version: 18.0.1 | |
extra_plugins: | | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
[email protected] | |