Open mitraecp opened 4 months ago
anyone can help me?
i got this error when try run action
this is my yaml file
name: deploy on: pull_request: branches: - qa jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v2 - name: Setup Node.js uses: actions/setup-node@v2 with: node-version: '10.x' - name: Install Dependencies run: npm install - name: Build for Production run: npm run prod-build - uses: amondnet/vercel-action@v20 with: vercel-token: ${{ secrets.VERCEL_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }} vercel-org-id: ${{ secrets.ORG_ID}} vercel-project-id: ${{ secrets.PROJECT_ID}} working-directory: ./sub-directory
Try using amondnet/vercel-action@v25 so you get a newer version of node. This will also eventually stop working because Vercel is deprecating node 16 and there's no newer version of this action yet. See #249
amondnet/vercel-action@v25
anyone can help me?
i got this error when try run action
this is my yaml file