mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 08:21:46 +03:00
chore(i18n): sunset lint workflows
This commit is contained in:
parent
1018149ca4
commit
cbe508664d
62
.github/workflows/lint.yml
vendored
62
.github/workflows/lint.yml
vendored
@ -1,62 +0,0 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
|
||||
# Cancels all previous workflow runs for pull requests that have not completed.
|
||||
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
|
||||
concurrency:
|
||||
# The concurrency group contains the workflow name and the branch name for
|
||||
# pull requests or the commit hash for any other events.
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
main:
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
# TODO Remove the next line after cleaning all errors
|
||||
continue-on-error: true
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 7
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
# https://github.com/actions/setup-node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install node modules
|
||||
run: pnpm install
|
||||
|
||||
- name: Lint
|
||||
if: always()
|
||||
run: pnpm run lint:with-cache
|
||||
|
||||
# - name: Check
|
||||
# if: always()
|
||||
# run: pnpm run check
|
||||
|
||||
# - name: Format Check
|
||||
# if: always()
|
||||
# run: pnpm run format:ci
|
||||
|
||||
# - name: Build
|
||||
# run: pnpm run build
|
||||
|
||||
# - name: Test
|
||||
# run: pnpm run test
|
Loading…
Reference in New Issue
Block a user