Skip to content

Commit

Permalink
Merge pull request #69 from complexdatacollective/feature/actions-lat…
Browse files Browse the repository at this point in the history
…est-node

update GH actions to latest node
  • Loading branch information
jthrilly authored Oct 15, 2024
2 parents 9c822c2 + 96a6995 commit 709cba4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
on:
push:
branches: [ master ]
branches: [master]
pull_request:

# Allows you to run this workflow manually from the Actions tab
Expand All @@ -14,16 +14,14 @@ jobs:
- uses: actions/checkout@v2
# Set node version
- uses: actions/setup-node@v2
with:
node-version: '12.14.1'
- name: Set NPM 7
run: npm install -g [email protected]
# Cache node_modules
- uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Install node modules
Expand All @@ -33,4 +31,4 @@ jobs:
run: npm run lint -- --max-warnings 0

- name: Run tests
run: npm run test
run: npm run test

0 comments on commit 709cba4

Please sign in to comment.