Skip to content

chore(deps): update dependency eslint to v9.17.0 (#180) #1515

chore(deps): update dependency eslint to v9.17.0 (#180)

chore(deps): update dependency eslint to v9.17.0 (#180) #1515

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
tags:
- '*'
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install yarn -g
- run: yarn install
- run: yarn test
- run: yarn build
deploy:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
node-version: [18.x]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install yarn -g
- run: yarn install
- run: yarn build
- name: Git status
run: git status
# Publishing to NPM
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
create-release:
needs: deploy
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
makeLatest: true