From b91f95d296dec56e9b7cc75a5b07a7ba9cc8e652 Mon Sep 17 00:00:00 2001 From: LORAX Date: Fri, 31 May 2024 05:32:48 +0700 Subject: [PATCH] modified: .github/workflows/autorelease.yml --- .github/workflows/autorelease.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/autorelease.yml b/.github/workflows/autorelease.yml index 7df684b..aa783db 100644 --- a/.github/workflows/autorelease.yml +++ b/.github/workflows/autorelease.yml @@ -19,20 +19,20 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: '18.x' + node-version: "18.x" - name: Install dependencies NUI working-directory: ./web - run: yarn install --frozen-lockfile + run: npm install --frozen-lockfile - name: Build UI working-directory: ./web - run: yarn build + run: npm build - name: Zip Folder run: zip -r ${{ github.event.repository.name }}.zip config.lua fxmanifest.lua impl.lua main.lua README.md LICENSE web/build/* locales/* client/* server/* - - uses: 'marvinpinto/action-automatic-releases@latest' + - uses: "marvinpinto/action-automatic-releases@latest" with: - repo_token: '${{ secrets.GITHUB_TOKEN }}' - title: '${{ github.event.head_commit.message }}' - automatic_release_tag: 'latest' + repo_token: "${{ secrets.GITHUB_TOKEN }}" + title: "${{ github.event.head_commit.message }}" + automatic_release_tag: "latest" prerelease: false files: | *.zip