diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index 12a88a6f..1daf9235 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -7,19 +7,21 @@ on: jobs: build: - name: "Build and release" + name: 'Build and release' runs-on: ubuntu-latest + environment: + name: Beta steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - name: Install the dependencies run: npm i - + - name: Prepare BETA run: node scripts/beta-release.js $GITHUB_RUN_ID @@ -28,4 +30,3 @@ jobs: - name: Publish to open-vsx.org run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }} - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec3ae27f..29c2beef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,19 +7,21 @@ on: jobs: build: - name: "Build and release" + name: 'Build and release' runs-on: ubuntu-latest + environment: + name: Stable steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - name: Install the dependencies run: npm i - + - name: Prepare MAIN release run: node scripts/main-release.js @@ -27,4 +29,4 @@ jobs: run: npx @vscode/vsce publish -p ${{ secrets.VSCE_PAT }} - name: Publish to open-vsx.org - run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }} \ No newline at end of file + run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }}