Skip to content

Commit

Permalink
Enable NPM related CI
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Jul 10, 2023
1 parent 042bf92 commit 1f9bd8b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: NPM Actions

#on:
# pull_request:
# branches: [master]
on:
pull_request:
# push:

jobs:
Expand All @@ -13,13 +12,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
dry: True
only_changed: True
prettier_version: 2.8.8

0 comments on commit 1f9bd8b

Please sign in to comment.