Skip to content

Commit

Permalink
chore: clean up workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Feb 11, 2023
1 parent 946b861 commit d49be45
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 62 deletions.
8 changes: 1 addition & 7 deletions .github/labeler_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ version: 1
labels:
- label: "breaking-change"
title: "^refactor!:.*"

- label: "enhancement"
title: "^feat:.*"

- label: "bug"
title: "^fix:.*"


- label: "github"
files:
- ".github/.*"
Expand Down
20 changes: 0 additions & 20 deletions .github/release.yml

This file was deleted.

23 changes: 13 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Lint
name: lint

on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
eslint:
name: Lint
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: npm install and lint
run: |
npm install
npm run lint
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- run: npm run lint
5 changes: 3 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: release-please

on:
push:
branches:
- main
name: release-please

jobs:
release-please:
permissions:
contents: write
pull-requests: write

runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- run: npm run test
23 changes: 0 additions & 23 deletions .github/workflows/tests.yml

This file was deleted.

0 comments on commit d49be45

Please sign in to comment.