From e663a3f19276415c3583e1d7fa4c4244070017d9 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 14 Nov 2019 23:37:32 +0100 Subject: [PATCH] No need uncommitted workflow --- .github/workflows/uncommited.yml | 37 -------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/uncommited.yml diff --git a/.github/workflows/uncommited.yml b/.github/workflows/uncommited.yml deleted file mode 100644 index b291552..0000000 --- a/.github/workflows/uncommited.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: uncommited - -on: - pull_request: - push: - -jobs: - changes: - runs-on: ubuntu-latest - steps: - - - # https://github.com/actions/checkout - name: Checkout - uses: actions/checkout@v1 - - - # https://github.com/actions/setup-node - name: Set up Node - uses: actions/setup-node@v1 - - - name: Build - run: | - npm install - npm run format - npm run build - - - name: Prune prod - run: | - rm -rf node_modules - npm install --production - - - name: Check for uncommitted changes - run: | - if [[ `git status --porcelain` ]]; then - git status --porcelain - echo "##[error] found changed files after build. please 'npm run build && npm run format && npm prune --production'" - exit 1 - fi