chore(.github/workflows): improve workflow with removing duplicated configs (#2918)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Wonsuk Choi · committed by GitHub · parent 51c00d2 · Browse files · 7 files·+6 added−12 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+6 added−12 removed
- other:+6 added−12 removed
Provenance
- Commit
a7f5128- Tree
8c0387f- Author
Wonsuk Choi <sukvvon@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
51c00d2
7 files changed+6 added−12 removed
modified:.github/workflows/compressed-size-action.yml-1 removed
10 unmodified lines111213141515161710 unmodified lines - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - uses: preactjs/compressed-size-action@v2 with: pattern: './dist/**/*.{js,mjs}'modified:.github/workflows/cr.yml+1 added-1 removed
5 unmodified lines67891010111213143 unmodified lines5 unmodified lines build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: corepack enable - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm'3 unmodified linesmodified:.github/workflows/lint-and-type.yml+1 added-2 removed
14 unmodified lines1516171819201920212214 unmodified lines - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --frozen-lockfile - run: pnpm install - run: pnpm test:format - run: pnpm test:types - run: pnpm test:lintmodified:.github/workflows/publish.yml+1 added-2 removed
13 unmodified lines14151617181918192021222 unmodified lines13 unmodified lines with: node-version: 20 registry-url: 'https://registry.npmjs.org' cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --frozen-lockfile - run: pnpm install - run: pnpm test - run: pnpm build - run: npm publish env:2 unmodified linesmodified:.github/workflows/test-multiple-builds.yml+1 added-2 removed
19 unmodified lines202122232425242526272823 unmodified lines19 unmodified lines - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --frozen-lockfile - run: pnpm install - run: pnpm build - name: Patch for DEV-ONLY if: ${{ matrix.env == 'development' }} run: |23 unmodified linesmodified:.github/workflows/test-multiple-versions.yml+1 added-2 removed
14 unmodified lines151617181920192021222325 unmodified lines14 unmodified lines - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --frozen-lockfile - run: pnpm install - run: pnpm build # we don't have any other workflows to test build - run: pnpm test:spec
test_matrix:25 unmodified linesmodified:.github/workflows/test-old-typescript.yml+1 added-2 removed
29 unmodified lines30 - uses: actions/setup-node@v431 with:32 node-version: 2033 cache: 'pnpm'34- cache-dependency-path: '**/pnpm-lock.yaml'35- - run: pnpm install --frozen-lockfile34+ - run: pnpm install35 - run: pnpm build36 - name: Patch for all TS37 run: |38 sed -i~ 's/"isolatedDeclarations": true,//' tsconfig.json17 unmodified lines