aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-08-09 09:25:18 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-08-09 09:33:33 -0500
commit129a55fc3923e555547030a0a572f3d9854dc7c3 (patch)
treeedb324b1d1adfcb709b35d03f95d651dcfbacaf9 /.github/workflows
parentfeat: Attempt to add an omni lint (diff)
downloadlocusts-129a55fc3923e555547030a0a572f3d9854dc7c3.tar
locusts-129a55fc3923e555547030a0a572f3d9854dc7c3.tar.gz
locusts-129a55fc3923e555547030a0a572f3d9854dc7c3.tar.bz2
locusts-129a55fc3923e555547030a0a572f3d9854dc7c3.tar.lz
locusts-129a55fc3923e555547030a0a572f3d9854dc7c3.tar.xz
locusts-129a55fc3923e555547030a0a572f3d9854dc7c3.tar.zst
locusts-129a55fc3923e555547030a0a572f3d9854dc7c3.zip
attempt to fix node CI
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint.yml2
-rw-r--r--.github/workflows/node.yml11
2 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5212ba2..1842062 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -45,7 +45,7 @@ jobs:
env:
# All available variables are described in documentation
# https://megalinter.io/configuration/
- VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
+ VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index a8d8002..90e9b5e 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -33,13 +33,14 @@ jobs:
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
+ - name: Install pnpm and dependencies
+ uses: pnpm/action-setup@v4
+ with:
+ run_install: true
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "latest"
cache: "pnpm"
- - name: Install pnpm and dependencies
- uses: pnpm/action-setup@v4
- with:
- version: 8
- run_install: true
+ - name: Build and Test
+ run: pnpm build && pnpm test