diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6c7efb9..48c2507 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,12 +1,10 @@ -name: Lint +name: Tests & Linting on: push jobs: - run-linters: - name: Run linters + setup: runs-on: ubuntu-latest - steps: - name: Check out Git repository uses: actions/checkout@v2 @@ -14,13 +12,22 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: 12.18.2 + node-version: 10.16.0 - name: Install Node.js dependencies run: yarn - - name: Run linters - uses: wearerequired/lint-action@v1 - with: - github_token: ${{ secrets.github_token }} - eslint: true + - name: some bullshit + run: npm run step1 + + build: + needs: setup + runs-on: ubuntu-latest + steps: + - run: npm run step2 + + test: + needs: build + runs-on: ubuntu-latest + steps: + - run: npm run step3 diff --git a/package.json b/package.json index 88dcb2b..9beb567 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ "lib" ], "scripts": { + "step1": "echo 'step one'", + "step2": "echo 'step two A'", + "step3": "echo 'step two B'", "docs": "node ./generate-readme.js", "example": "npm-run-all example:*", "example:cli": "rm -rf ./example/iconr_output && node ./bin/iconr ./example/svg ./example/iconr_output --analytics --debug --pretty --verbose --filename=\"icons.css\" --classname=\"icon-\"",