Skip to content

Code for IBM i 2.1.0 #243

Code for IBM i 2.1.0

Code for IBM i 2.1.0 #243

Workflow file for this run

on:
release:
types: [created]
jobs:
release:
name: Release and publish
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- uses: actions/checkout@v2
- run: npm install
- run: npm install -g vsce ovsx
- name: Publish to Marketplace
run: vsce publish -p $PUBLISHER_TOKEN
env:
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
- name: Publish to Open VSX
run: npx ovsx publish -p ${{ secrets.OPENVSX_TOKEN }}
- name: Generate typings
run: npm run typings
- name: Cleanup typings
run: cd types && npm run prepublish
- name: Publish typings to npm
run: cd types && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}