From 94604e83e054fecd4498d2aa2055672b422cda93 Mon Sep 17 00:00:00 2001 From: Cem KIRAY Date: Tue, 26 Mar 2024 14:07:51 +0100 Subject: [PATCH] add missing steps to release workflow --- .github/workflows/release.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 679cb8f..d10bff6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,13 +13,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.0.0 + - name: Install dependencies + run: npm install + + - name: Build + run: npm run build + - id: publish-to-npm uses: JS-DevTools/npm-publish@v1 with: @@ -31,4 +37,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ steps.publish-to-npm.outputs.version }} - release_name: ${{ steps.publish-to-npm.outputs.version }} \ No newline at end of file + release_name: ${{ steps.publish-to-npm.outputs.version }}