Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

npm: bump eslint from 8.37.0 to 8.54.0 #68

npm: bump eslint from 8.37.0 to 8.54.0

npm: bump eslint from 8.37.0 to 8.54.0 #68

Workflow file for this run

name: Release
on:
pull_request:
branches:
- main
types:
- closed
# Cancel any active builds when new commits are pushed
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
Deploy:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')
runs-on: ubuntu-latest
environment: Production
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Get version
id: version
run: echo "current=$(npm pkg get version | tr -d '"')" >> $GITHUB_OUTPUT
- name: Run CI
run: npm ci
- name: Wrangler
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.version.outputs.current }}