Skip to content

Commit

Permalink
Merge pull request #2 from onrunning/B2C-7815-commit-dist-folder
Browse files Browse the repository at this point in the history
B2C-7815 - Fix missing distribution assets
  • Loading branch information
pmrotule authored Feb 7, 2022
2 parents 6a15508 + ec576e0 commit 7d79864
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/** -diff linguist-generated=true
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ Short explanation of the things the PR is about.

### Checklist

- [ ] Latest compiled assets are committed
- [ ] Unit tests are implemented
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16.13.2]

steps:
- name: Checkout branch 🛎
Expand All @@ -21,7 +20,7 @@ jobs:
- name: Setup node env 🏗
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
node-version-file: .nvmrc

- name: Get yarn cache directory path 🛠
id: yarn-cache-dir-path
Expand All @@ -42,5 +41,8 @@ jobs:
- name: Run linter 👀
run: yarn lint

- name: Check if build is up-to-date 🚧
run: yarn build && git add --intent-to-add dist && git diff HEAD --quiet -- dist

- name: Run tests 🧪
run: yarn test
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ node_modules/
.env
*secrets*key*

# Build output
dist

# Service worker
sw.*

Expand Down
2 changes: 2 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/index.js.LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d79864

Please sign in to comment.