chore(deps): update devdependencies typescript from v5.6.3 to v5.7.2 … #366
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 | |
- test | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
id-token: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "latest" | |
- name: Install dependencies | |
run: npm install | |
- name: Run unit tests | |
run: npm test | |
env: | |
CI: true | |
- name: Build | |
run: npm run build && cd dist && ls -la | |
- name: Release | |
env: | |
GH_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GIT_AUTHOR_NAME: eg-oss-ci | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: eg-oss-ci | |
GIT_COMMITTER_EMAIL: [email protected] | |
run: | | |
cd dist | |
npx semantic-release --debug |