Skip to content

Update dependency eslint to v9 #176

Update dependency eslint to v9

Update dependency eslint to v9 #176

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, 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 Deploy 🕛
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
environment: github-actions
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4.1.5
- name: Pnpm 🧱
uses: pnpm/action-setup@v3.0.0
- name: Node.js 🧰
uses: actions/setup-node@v4.0.2
with:
node-version: latest
cache: pnpm
- name: Install && Build 🔩
run: |
pnpm i --frozen-lockfile
pnpm build
- name: Publish 📰
uses: JS-DevTools/npm-publish@v3.1.1
if: github.ref_name == 'main'
with:
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade