Skip to content

Commit

Permalink
Add GitHub action for next publishing (eclipse-theia#13385)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored Feb 14, 2024
1 parent 5bc2c2e commit f332cad
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish Next

on: workflow_dispatch

jobs:
publish:
name: Perform Publishing
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'

- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install
shell: bash
run: |
yarn global add node-gyp
yarn --skip-integrity-check --network-timeout 100000
env:
NODE_OPTIONS: --max_old_space_size=4096
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9

- name: Publish NPM
shell: bash
run: |
yarn publish:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit f332cad

Please sign in to comment.