Skip to content

Commit

Permalink
ci: use wildcard in build-and-upload to support future additional p…
Browse files Browse the repository at this point in the history
…ackages, add cache to `setup` for yarn dependencies (#2015)
  • Loading branch information
YossiSaadi authored Mar 12, 2024
1 parent 100f17f commit f6649c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ runs:
with:
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org/
cache: "yarn"
- name: Install
run: yarn
shell: bash
env:
NODE_AUTH_TOKEN: ${{inputs.npm_token}}
NODE_AUTH_TOKEN: ${{ inputs.npm_token }}
4 changes: 1 addition & 3 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ci-builds-${{ github.run_id }}-${{ github.run_attempt }}
path: |
packages/core/dist/
packages/style/dist/
path: "./packages/*/dist/"
if-no-files-found: ignore

0 comments on commit f6649c9

Please sign in to comment.