diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d76e417..b9dcc17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,21 +13,28 @@ jobs: steps: - name: Checkout PROD uses: actions/checkout@v4 + - name: Install Node.js latest uses: actions/setup-node@v4 with: node-version: latest check-latest: true + - name: Install dependencies run: npm ci + - name: Run ESLint - run: npx eslint --no-error-on-unmatched-pattern . + run: npx eslint --no-error-on-unmatched-pattern. + + - name: Run all tests + run: npm run test + - name: Generate build env: CI: false run: npm run build - # Share artifact inside workflow + # Share artifact - name: Share artifact inside workflow uses: actions/upload-artifact@v4 with: @@ -38,4 +45,4 @@ jobs: uses: ncipollo/release-action@v1.14.0 with: artifacts: "react-github-actions-build" - tag: v1.5.4.7 \ No newline at end of file + tag: v1.5.5 \ No newline at end of file diff --git a/README.md b/README.md index 53691c5..79bc75c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@