Skip to content

Commit

Permalink
ci: drop actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Sep 17, 2024
1 parent 62b9733 commit bd664c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14.x'
- name: Cache NPM dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache
restore-keys: |
${{ runner.OS }}-npm-cache
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Lint
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
restore-keys: ${{ runner.os }}-npm-cache
cache: 'npm'
- name: Install Dependencies
run: npm i
- name: Test
Expand All @@ -37,15 +32,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
restore-keys: ${{ runner.os }}-npm-cache
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Coverage
Expand Down

0 comments on commit bd664c8

Please sign in to comment.