Skip to content

eslint-config-next-flat v0.1.0 #9

eslint-config-next-flat v0.1.0

eslint-config-next-flat v0.1.0 #9

Workflow file for this run

name: Publish Package to NPM
on:
release:
types: [published]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: pnpm
cache-dependency-path: "pnpm-lock.yaml"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}