From f0665dfaee7bdaff11dcb60a396a77b5d75675f2 Mon Sep 17 00:00:00 2001 From: m5r Date: Fri, 20 Aug 2021 14:14:30 +0800 Subject: [PATCH] test --- .github/workflows/main.yml | 39 +------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 47ca2f6..817c5ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,47 +1,10 @@ name: Deployment pipeline -on: [push, pull_request] +on: push jobs: - lint: - name: Lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - - run: npm install - - run: npm run lint - - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - - run: npm install - - run: npm test - - build: - name: Compile - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - - run: npm install - - run: npm run build - env: - DATOCMS_API_TOKEN: ${{ secrets.DATOCMS_API_TOKEN }} - QUIRREL_BASE_URL: doesntmatter.shellphone.app - deploy: if: contains('refs/heads/master refs/heads/production', github.ref) - needs: [lint, test, build] name: Deploy runs-on: ubuntu-latest steps: