Skip to content

build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0 #511

build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0

build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0 #511

Workflow file for this run

# 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