From 2252e5538ebf6e2c8c7af7f1df958dc64b286733 Mon Sep 17 00:00:00 2001 From: meni Date: Mon, 11 Sep 2023 18:33:49 +0300 Subject: [PATCH] vsce dosenot work localy trynig to run in it in github acitons --- .github/workflows/deployment.yml | 20 ++++++++++++++++++++ .github/workflows/test.yml | 6 +++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deployment.yml diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml new file mode 100644 index 0000000..d54431d --- /dev/null +++ b/.github/workflows/deployment.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - main +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Install pnpm + run: npm install -g pnpm@6.35.1 + - name: Install dependencies + run: pnpm install + - name: Install vcse + run: npm install -g vcse \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7c2750..60cb26b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,4 +22,8 @@ jobs: - name: Run unit tests run: npm run unit:test - name: Run integration tests - run: xvfb-run -a npm test \ No newline at end of file + run: xvfb-run -a npm test + - name: Install vcse + run: npm install -g vcse + - name: Run packge + run: vcse package \ No newline at end of file