build(deps-dev): bump @typescript-eslint/parser from 6.10.0 to 6.11.0 #507
Workflow file for this run
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Build and publish | |
on: | |
push: | |
branches: [master, beta] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
node-version: 18.x | |
- run: npm ci | |
- run: npm run build:release | |
- run: npm test | |
- run: npm run clean:test | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: | | |
dist | |
esm | |
publish-npm: | |
if: ${{ github.ref == 'refs/heads/master' }} | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
node-version: 18.x | |
- run: npm ci | |
- name: Install semantic-release extra plugins | |
run: npm install --save-dev @semantic-release/changelog @semantic-release/git | |
- name: Download the build artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: dist | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.npm_token }} | |
run: npx semantic-release |