From 916244c9f6954605ddf7d79e1f1306f3211810a7 Mon Sep 17 00:00:00 2001 From: Ronan Connolly Date: Fri, 3 May 2024 23:17:56 +0200 Subject: [PATCH] revert --- .github/workflows/main.yaml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e651a78..92e3994 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,10 +16,7 @@ jobs: with: node-version: 20 - - name: Install Dependencies - uses: chill-viking/npm-ci@latest - with: - working_directory: './npm-root-folder/' + - run: npm ci - name: Lint run: npm run lint @@ -27,19 +24,19 @@ jobs: - name: Test run: npm run ci:test - # - name: Automated Version Bump - # uses: phips28/gh-action-bump-version@v11.0.4 - # env: - # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + - name: Automated Version Bump + uses: phips28/gh-action-bump-version@v11.0.4 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - name: Build run: npm run build:prod - # - name: Upload Artifact - # uses: actions/upload-artifact@v2 - # with: - # name: dist - # path: dist/chuck-norris-joke-generator/browser + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: dist + path: dist/chuck-norris-joke-generator/browser - name: Deploy uses: JamesIves/github-pages-deploy-action@4.1.5