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

npm: bump eslint from 8.38.0 to 8.56.0 #55

npm: bump eslint from 8.38.0 to 8.56.0

npm: bump eslint from 8.38.0 to 8.56.0 #55

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/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.version.outputs.current }}