Skip to content

chore: store built vsix #1

chore: store built vsix

chore: store built vsix #1

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
jobs:
check-translations:
name: Translation Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run locale --update-locales
- run: |
CHANGES=$(git diff --name-only)
if [ -z "$CHANGES" ]
then
echo "No translations needed"
else
echo "The following files need translations:"
echo $CHANGES
exit 1
fi
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npx @vscode/vsce package
- uses: actions/upload-artifact@v3
with:
path: *.vsix

Check failure on line 42 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 42
retention-days: 5