Skip to content

Merge branch 'main' of https://github.com/dev-five-git/eslint-plugin-… #56

Merge branch 'main' of https://github.com/dev-five-git/eslint-plugin-…

Merge branch 'main' of https://github.com/dev-five-git/eslint-plugin-… #56

Workflow file for this run

name: Publish Package to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
# create pull request comments
pull-requests: write
# Actions > General > Workflow permissions for creating pull request
# Create brench to create pull request
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
- uses: changepacks/action@main
id: changepacks
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}