chore: cleanup outdated actions

This commit is contained in:
DarkSky
2023-03-24 23:58:28 +08:00
parent 3c04588110
commit 40903a9070
3 changed files with 8 additions and 93 deletions

View File

@@ -9,6 +9,10 @@ inputs:
description: 'Run the install step.'
required: false
default: 'true'
npm-token:
description: 'The NPM token to use for private packages.'
required: false
default: ''
runs:
using: 'composite'
@@ -31,14 +35,14 @@ runs:
shell: bash
run: yarn install ${{ inputs.extra-flags }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
- name: yarn install (try again)
if: ${{ steps.install.outcome == 'failure' }}
shell: bash
run: yarn install ${{ inputs.extra-flags }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
- name: Get installed Playwright version
id: playwright-version