Skip to content

Commit

Permalink
fix: npm build action (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
arzola authored May 22, 2024
1 parent 5bf275a commit 75af00d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
translations:
if: github.actor == 'pressbooks-ops' || github.actor == 'transifex-integration[bot]' || github.actor == 'dependabot[bot]'
uses: pressbooks/reusable-workflows/.github/workflows/auto-merge.yml@test-tag-release
uses: pressbooks/reusable-workflows/.github/workflows/auto-merge.yml@main
with:
pr_title_pattern: '^(chore\((l10n|i18n)\):)'
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ on:

jobs:
deploy:
uses: pressbooks/reusable-workflows/.github/workflows/prepare-release.yml@test-tag-release
uses: pressbooks/reusable-workflows/.github/workflows/prepare-release.yml@main
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/ensure-npm-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Npm build ⚙️

on:
pull_request:
branches: [ dev ]
paths:
- "src/assets/**/*"

jobs:
update-npm-build:
uses: pressbooks/reusable-workflows/.github/workflows/npm-build.yml@main
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
plugin-tests:
uses: pressbooks/reusable-workflows/.github/workflows/pb-plugin-tests.yml@test-tag-release
uses: pressbooks/reusable-workflows/.github/workflows/pb-plugin-tests.yml@main
secrets: inherit
with:
requires_pressbooks: true
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- name: Trigger Bedrock Updates
if: github.ref == 'refs/heads/dev'
uses: pressbooks/composer-autoupdate-bedrock@chore/add-tag-in-sns-message
uses: pressbooks/composer-autoupdate-bedrock@main
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-mo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:

jobs:
update-mo-files:
uses: pressbooks/reusable-workflows/.github/workflows/update-mo.yml@test-tag-release
uses: pressbooks/reusable-workflows/.github/workflows/update-mo.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/update-pot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
update-pot-file:
uses: pressbooks/reusable-workflows/.github/workflows/update-pot.yml@test-tag-release
uses: pressbooks/reusable-workflows/.github/workflows/update-pot.yml@main
secrets: inherit
with:
domain: 'pressbooks-fake-plugin'
Expand Down
3 changes: 3 additions & 0 deletions src/assets/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body{
margin: 0;
}

0 comments on commit 75af00d

Please sign in to comment.