From 5dd7f6ac68c3ae3b311f12fb73054b65411c2216 Mon Sep 17 00:00:00 2001 From: Jane Jeon Date: Sat, 25 Dec 2021 03:53:16 -0500 Subject: [PATCH] remove github actions --- .github/workflows/ci.yml | 62 ---------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 10b7abe..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,62 +0,0 @@ -# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: CI - -on: - push: - branches: [master] - pull_request: - branches: [master] - -jobs: - lint: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - env: - CACHE_KEY: npm-cache-key-node-v${{ matrix.node-version }} - - run: npm ci - - name: Lint - run: npm run lint - test: - needs: lint - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12, 14, 16] - # https://github.com/actions/setup-node#supported-version-syntax - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - env: - CACHE_KEY: npm-cache-key-node-v${{ matrix.node-version }} - - run: npm ci - - run: docker compose up -d - - name: Test - run: npm test -- --ci --runInBand --reporters=default --reporters=jest-junit - env: - JEST_JUNIT_OUTPUT_NAME: results.xml - JEST_JUNIT_OUTPUT_DIR: reports/jest-node${{ matrix.node-version }} - - name: Publish Test Report - uses: mikepenz/action-junit-report@v2 - if: always() # always run even if the previous step fails - with: - report_paths: reports/jest-node*/*.xml