mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-21 04:54:45 +07:00
Fix workflow and bump version
This commit is contained in:
13
.github/workflows/workflow.yml
vendored
13
.github/workflows/workflow.yml
vendored
@ -36,20 +36,7 @@ jobs:
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
||||
- name: Get npm cache directory
|
||||
id: npm-cache
|
||||
run: echo "::set-output name=dir::$(npm config get cache)"
|
||||
|
||||
- name: Install dependencies
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ steps.npm-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Installing NPM packages
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: npm install
|
||||
|
||||
- name: Prettier Format Check
|
||||
|
Reference in New Issue
Block a user