From 847e48092ff3f11b526dc8b6e9a36f01ee7b6d42 Mon Sep 17 00:00:00 2001 From: Mike Wu Date: Mon, 17 Jul 2023 15:17:54 +0900 Subject: [PATCH] fix: validation install (remove) --- .github/workflows/validate.yml | 56 +--------------------------------- 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 13f0f84..cc0dbf7 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -59,64 +59,10 @@ jobs: node_version: ${{ matrix.node }} - name: Lint run: npm run lint + build: name: Build uses: ./.github/workflows/_build.yml - install: - name: Install (Node.js v${{ matrix.node }} on ${{ matrix.os_name }}) - runs-on: ${{ matrix.os }} - timeout-minutes: 30 - needs: build - strategy: - fail-fast: false - matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest - node: - - '16' - - '18' - include: - - os: ubuntu-latest - os_name: Linux - - os: macos-latest - os_name: macOS - - os: windows-latest - os_name: Windows - steps: - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: ${{ needs.build.outputs.artifact_name }} - path: . - - name: Find packages - uses: tj-actions/glob@v16 - id: packages - with: - files: '*.tgz' - - name: Create package.json - uses: DamianReeves/write-file-action@v1.2 - with: - write-mode: overwrite - path: package.json - contents: | - {"type":"module"} - - name: Create index.js - uses: DamianReeves/write-file-action@v1.2 - with: - write-mode: overwrite - path: index.js - contents: | - import 'react-ga-hooks' - - name: Install - run: npm install --save ${{ steps.packages.outputs.paths }} - - name: Run - run: node index.js typecheck: name: Typecheck (Node.js v${{ matrix.node }})