Skip to content

Commit

Permalink
move build into setup
Browse files Browse the repository at this point in the history
  • Loading branch information
harrydowning committed Aug 29, 2024
1 parent 2211e67 commit 37ffb9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .github/actions/build/action.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ runs:
node-version: "18"
- run: npm i
shell: bash
- run: npm run build
shell: bash
- run: echo "VERSION=$(node -p "require('./package.json').version")" >> "$GITHUB_ENV"
shell: bash
2 changes: 0 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/build
- run: npx vsce package
- run: gh release create v$VERSION --generate-notes yaml-embedded-languages-$VERSION.vsix
env:
Expand All @@ -41,7 +40,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/build
- run: npx vsce package --pre-release
- run: gh release create v$VERSION --prerelease --generate-notes yaml-embedded-languages-$VERSION.vsix
env:
Expand Down

0 comments on commit 37ffb9e

Please sign in to comment.