Skip to content

Commit

Permalink
Fix fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed May 4, 2024
1 parent 080cf40 commit bf8dd41
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@ jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- name: Checkout
uses: actions/checkout@v4
with:
deno-version: v1.x
fetch-depth: 0

- name: Build Reason
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"

- name: Build Version
id: version
Expand All @@ -73,6 +76,10 @@ jobs:
sed -i -e "s/0.0.0/$version/" deno.json
cat deno.json
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build NPM Package
run: deno task build ${{ steps.version.outputs.version }}

Expand Down

0 comments on commit bf8dd41

Please sign in to comment.