Skip to content

Update typescript-eslint monorepo to v8.17.0 (#906) #2234

Update typescript-eslint monorepo to v8.17.0 (#906)

Update typescript-eslint monorepo to v8.17.0 (#906) #2234

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm run lint
- run: npm run test
# - run: tar -cf dist.tar dist
# - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # tag=v3.0.0
# with:
# name: app.tar
# path: app.tar
# dev-deploy:
# needs:
# - build
# if: ${{ github.ref != 'refs/heads/main' }}
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
# - uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3.2.0
# with:
# node-version-file: '.nvmrc'
# - run: npm install
# - run: npm run lint
# - run: npm run build
# - run: npm run test
# - uses: cloudflare/[email protected]
# with:
# apiToken: ${{ secrets.CF_API_TOKEN }}
# environment: dev
deploy:
name: prod deploy
needs:
- build
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
- run: npm install
- uses: cloudflare/wrangler-action@6d58852c35a27e6034745c5d0bc373d739014f7f # v3.13
with:
apiToken: ${{ secrets.CF_API_TOKEN }}