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

chore: remove github actions cache #2690

Merged
merged 1 commit into from May 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 2 additions & 17 deletions .github/workflows/ci.yml
Expand Up @@ -23,28 +23,13 @@ jobs:
with:
# The Node.js version to configure
node-version: '16'
# Caching dependencies to speed up workflows
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install npm dependencies
run: npm install
- name: Print put node & npm version
- name: Print node & npm version
# Output useful info for debugging.
run: node --version && npm --version
- name: Run Test
run: npm run test
# Not work currently, need investigate
#- name: Run Test Cov
# run: npm run test-cov
run: npm run test

compat_node_tests:
name: 'Compat test stylus on ${{matrix.os}} with node${{matrix.node}}'
Expand Down