Skip to content

Commit

Permalink
ci: also checkout and install node before tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Feb 24, 2024
1 parent b88d3d2 commit 67647d9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,15 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV

- name: Create release tag
uses: pkgdeps/git-tag-action@v2
with:
Expand Down

0 comments on commit 67647d9

Please sign in to comment.