Skip to content

Commit

Permalink
πŸ’š Fix npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
5ika committed Aug 18, 2023
1 parent 08df85e commit e86433e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: yarn build
working-directory: ./lib
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: yarn build
working-directory: ./lib
- run: npm publish
working-directory: ./lib/npm
env:
Expand Down

0 comments on commit e86433e

Please sign in to comment.