Skip to content

Commit

Permalink
fix: pipeline improvement, missing checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Dec 26, 2024
1 parent 9e7f9a8 commit 9cf327b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ jobs:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GH_SECRET }}
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -40,8 +48,5 @@ jobs:
GH_TOKEN: ${{ secrets.GH_SECRET }}
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
echo "list $(ls)"
echo "path $(pwd)"
npm install
npm test

0 comments on commit 9cf327b

Please sign in to comment.