Skip to content

Commit 9314d5f

Browse files
authored
Add more checks to GitHub workflow (#26)
1 parent 310a2f3 commit 9314d5f

File tree

6 files changed

+5589
-9
lines changed

6 files changed

+5589
-9
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@
1414

1515
name: Deploy Preview
1616

17-
on: [pull_request]
17+
on: pull_request
1818

1919
jobs:
2020
build_and_preview:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v2
24-
# - run: npm run build
24+
- name: Install dependencies
25+
run: npm ci
26+
- name: Check that Prettier was run
27+
run: npm run format:check
2528
- uses: ./
2629
with:
2730
repoToken: "${{ secrets.GITHUB_TOKEN }}"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
node_modules
2-
package-lock.json
32
.firebase/*
43
**/*.d.ts

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
package-lock.json
3-
action.min.js
3+
bin

bin/action.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)