Skip to content

Commit

Permalink
Only run tests and build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Feb 20, 2024
1 parent 965ce46 commit fbbd50e
Showing 1 changed file with 26 additions and 8 deletions.
34 changes: 26 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,34 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: ${{ needs.changes.outputs.packages }}
path: ${{ needs.changes.outputs.packages }}
# - name: Download Artifacts
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.changes.outputs.packages }}
# path: ${{ needs.changes.outputs.packages }}

- run: ls -lah
# - run: ls -lah

- name: Install build artifact
run: yarn workspace ${{ needs.changes.outputs.packages }} add $(pwd)/package.tgz
# - name: Install build artifact
# run: yarn workspace ${{ needs.changes.outputs.packages }} add $(pwd)/package.tgz

- name: Run tests, against dist
run: yarn test

build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node: ['20.x']
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4

- name: Build
run: yarn build

0 comments on commit fbbd50e

Please sign in to comment.