Skip to content

chore(deps): update dependency eslint to v8.57.1 #869

chore(deps): update dependency eslint to v8.57.1

chore(deps): update dependency eslint to v8.57.1 #869

Workflow file for this run

name: CI Pipeline
on:
pull_request:
push:
branches:
- main
tags:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
cache: yarn
- name: yarn install
run: yarn
- name: Lint
run: yarn lint
- name: Unit Test
run: yarn test
package:
needs: [test]
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
cache: yarn
registry-url: 'https://npm.pkg.github.com'
- run: yarn
- run: yarn prepublish
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}