diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 68b4f4a..cea883e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,7 +27,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 16.17.0 + node-version: 18.16.0 cache: 'npm' - name: Get Npm Version @@ -41,11 +41,11 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: GitHub Release - uses: actions/create-release@v1 + - name: Create Release + id: create_release + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.package-version.outputs.current-version }} - release_name: ${{ github.event.inputs.name }} - body: ${{ github.event.inputs.text }} + tag_name: ${{ steps.package-version.outputs.version }} + name: Release ${{ steps.package-version.outputs.version }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d2d080f..7323ac4 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -26,7 +26,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 16.17.0 + node-version: 18.16.0 cache: 'npm' - name: Install Modules @@ -36,6 +36,6 @@ jobs: run: npm run eslint - name: Run Unit Tests - uses: GabrielBB/xvfb-action@v1 + uses: actions/setup-node@v3 with: run: npm run test-ci