Skip to content

Commit

Permalink
Merge pull request #690 from WPMedia/update-actions
Browse files Browse the repository at this point in the history
Add build step to github actions
  • Loading branch information
nschubach authored Mar 7, 2024
2 parents e40263b + 7fd6bdd commit b8d9bf3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build Utils
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build Utils
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Create new branch in order to persist changesets through to prod branch
- name: Create snapshot sandbox branch
run: git checkout -b sandbox-tag
Expand Down

0 comments on commit b8d9bf3

Please sign in to comment.