From 9bf6d930482020083f07395d3b0b1f5130c8fccd Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 18 Jul 2022 19:45:07 +0200 Subject: Create lint.yml --- .github/workflows/lint.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/lint.yml (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..1253bc4 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,35 @@ +name: Lint + +on: + # Trigger the workflow on push or pull request, + # but only for the main branch + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + run-linters: + name: Run linters + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: 12 + + # ESLint and Prettier must be in `package.json` + - name: Install Node.js dependencies + run: npm ci + + - name: Run linters + uses: wearerequired/lint-action@v2 + with: + eslint: true + prettier: true -- cgit From d8ca0a983dff84b0d73f3a135ed0142570d7dae0 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 18 Jul 2022 20:16:00 +0200 Subject: Delete lint.yml --- .github/workflows/lint.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/workflows/lint.yml (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 1253bc4..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Lint - -on: - # Trigger the workflow on push or pull request, - # but only for the main branch - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - run-linters: - name: Run linters - runs-on: ubuntu-latest - - steps: - - name: Check out Git repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v1 - with: - node-version: 12 - - # ESLint and Prettier must be in `package.json` - - name: Install Node.js dependencies - run: npm ci - - - name: Run linters - uses: wearerequired/lint-action@v2 - with: - eslint: true - prettier: true -- cgit From 3742988faf2aaa5ea011631bde96f562ffbdca71 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 18 Jul 2022 21:24:21 +0200 Subject: run tests on every push --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5f9f79..aa38050 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Test CI -on: [pull_request] +on: [push] jobs: test: runs-on: ubuntu-latest @@ -12,4 +12,4 @@ jobs: - name: Install Dependencies run: npm install - name: Run Tests - run: npm test \ No newline at end of file + run: npm test -- cgit From c3bde03911eb41bb768d1f01c0857d69300e36b8 Mon Sep 17 00:00:00 2001 From: Caleb Date: Tue, 13 Sep 2022 18:16:22 -0400 Subject: Run on a pull request --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0d5ea4..eaf50c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,6 @@ name: Deploy CI -on: [push] +on: [push, pull_request] jobs: build: -- cgit