Skip to content

feat: cleanup

feat: cleanup #2

name: "Web Publish Prod"
on:
push:
branches:
- "master"
jobs:
bump-version:
name: "Bump Version on master"
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: "cat package.json"
run: cat ./package.json
- name: "Automated Version Bump"
id: version-bump
uses: "phips28/[email protected]"
with:
tag-prefix: "web-"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: "packages/web"
- name: "cat package.json"
run: cat ./package.json
- name: "Output Step"
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: echo "new tag $NEW_TAG"
deploy-vercel:
need: [bump-version]

Check failure on line 36 in .github/workflows/web-publish-prod.yml

View workflow run for this annotation

GitHub Actions / Web Publish Prod

Invalid workflow file

The workflow is not valid. .github/workflows/web-publish-prod.yml (Line: 36, Col: 5): Unexpected value 'need'
uses: ./.github/workflows/_deploy-vercel.yml
secrets:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}