Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: introducetsdown, support mixed js & ts in codebase#2284

feat: introducetsdown, support mixed js & ts in codebase

feat: introducetsdown, support mixed js & ts in codebase #2284

Workflow file for this run

name:CI
on:
push:
branches:
-'master'
pull_request:
types:
-'opened'
-'synchronize'
-'reopened'
permissions:
contents:read
jobs:
lint:
name:Lint
runs-on:ubuntu-latest
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Install Node.js
uses:actions/setup-node@v6
-name:Install Packages
run:npm install --legacy-peer-deps
-name:Lint
run:npm run lint
build:
runs-on:ubuntu-latest
steps:
-uses:actions/checkout@v5
-uses:actions/setup-node@v6
with:
node-version:lts/*
-name:Install Packages
run:npm install
-name:Build
run:npm run build
-name:Cache dist
uses:actions/upload-artifact@v5
with:
retention-days:3
name:dist
path:dist
test:
name:Test
strategy:
matrix:
node:[18, 20, 21, 'lts/*']
runs-on:ubuntu-latest
needs:
-build
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Install Node.js v${{ matrix.node }}
uses:actions/setup-node@v6
with:
node-version:${{ matrix.node }}
-name:Install Packages
run:npm install
-name:Restore dist cache
uses:actions/download-artifact@v6
with:
name:dist
-name:Test
run:npm test
test-with-eslint-v8:
name:Test with ESLint v8
runs-on:ubuntu-latest
needs:
-build
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Install Node.js v18
uses:actions/setup-node@v6
with:
node-version:18
-name:Install Packages
run:npm install
-name:Install ESLint v8
run:npm install --save-dev eslint@8 --force
-name:Restore dist cache
uses:actions/download-artifact@v6
with:
name:dist
-name:Test
run:npm test
test-without-eslint-stylistic:
name:Test without ESLint Stylistic
runs-on:ubuntu-latest
needs:
-build
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Install Node.js
uses:actions/setup-node@v6
-name:Install Packages
run:npm install
-name:Uninstall @stylistic/eslint-plugin
run:npm uninstall @stylistic/eslint-plugin
-name:Restore dist cache
uses:actions/download-artifact@v6
with:
name:dist
-name:Test
run:npm test
test-with-old-eslint-stylistic:
name:Test with old ESLint Stylistic
strategy:
matrix:
stylistic:[2, 3, 4]
runs-on:ubuntu-latest
needs:
-build
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Install Node.js
uses:actions/setup-node@v6
-name:Install Packages
run:npm install
-name:Install @stylistic/eslint-plugin v${{ matrix.stylistic }}
run:npm install -D @stylistic/eslint-plugin@${{ matrix.stylistic }} --force
-name:Restore dist cache
uses:actions/download-artifact@v6
with:
name:dist
-name:Test
run:npm test
test-with-typescript-eslint-v7:
name:Test with typescript-eslint v7
runs-on:ubuntu-latest
needs:
-build
steps:
-name:Checkout
uses:actions/checkout@v5
-name:Install Node.js
uses:actions/setup-node@v6
-name:Install Packages
run:npm install
-name:Install @typescript-eslint/parser v7
run:npm install -D @typescript-eslint/parser@7 --force
-name:Restore dist cache
uses:actions/download-artifact@v6
with:
name:dist
-name:Test
run:npm test

[8]ページ先頭

©2009-2025 Movatter.jp