Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update GH actions to latest node #69

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading