chore(ci): Switch from gacts/setup-node-with-cache to actions/setup-node action

This commit is contained in:
Pаramtamtām 2024-06-20 14:07:49 +04:00 committed by GitHub
parent 5512f2d8bb
commit 985fc18a48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,8 +41,7 @@ jobs: # Docs: <https://git.io/JvxXE>
steps:
- uses: actions/checkout@v4
- uses: gacts/setup-node-with-cache@v1
with: {node-version: 16}
- {uses: actions/setup-node@v4, with: {node-version: 16, cache: 'npm'}}
- name: Install linter
run: npm install -g ajv-cli # Package page: <https://www.npmjs.com/package/ajv-cli>
@ -56,8 +55,7 @@ jobs: # Docs: <https://git.io/JvxXE>
steps:
- uses: actions/checkout@v4
- uses: gacts/setup-node-with-cache@v1
with: {node-version: 16}
- {uses: actions/setup-node@v4, with: {node-version: 16, cache: 'npm'}}
- name: Install eslint
run: npm install -g eslint@v8 # Package page: <https://www.npmjs.com/package/eslint>