Skip to content

Commit

Permalink
chore: update GitHub Actions versions and add linting section
Browse files Browse the repository at this point in the history
  • Loading branch information
mumincelal committed Feb 19, 2024
1 parent 3d90926 commit 488cc71
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13,077 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build
run-name: Build

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

Expand All @@ -13,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
Expand All @@ -29,6 +32,9 @@ jobs:
- name: Installing dependencies
run: pnpm install

- name: Linting
run: pnpm lint

- name: Building
run: pnpm build

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Release
run-name: Release

on:
workflow_dispatch:
Expand All @@ -10,7 +11,6 @@ permissions:

jobs:
release:
name: Release
if: ${{ github.repository_owner == 'mumincelal' }}
runs-on: ubuntu-latest
permissions:
Expand All @@ -19,7 +19,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# - name: Setup pnpm
# uses: pnpm/action-setup@v2
Expand Down
Loading

0 comments on commit 488cc71

Please sign in to comment.