Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
delay pre-releases using environment
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed May 11, 2022
1 parent 6be3533 commit 7c4a374
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI/CD
'on':
"on":
pull_request:
branches:
- main
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: "16"
- name: Setup PNPM
uses: pnpm/action-setup@v2.0.1
with:
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: "16"
- name: Setup PNPM
uses: pnpm/action-setup@v2.0.1
with:
Expand All @@ -80,6 +80,7 @@ jobs:
concurrency:
group: pre-release
cancel-in-progress: true
environment: Pre Release
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
Expand All @@ -102,7 +103,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: "16"
- name: Setup PNPM
uses: pnpm/action-setup@v2.0.1
with:
Expand Down Expand Up @@ -171,7 +172,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: "16"
- name: Setup PNPM
uses: pnpm/action-setup@v2.0.1
with:
Expand Down
1 change: 1 addition & 0 deletions packages/grammarly-languageclient/src/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { BaseLanguageClient } from 'vscode-languageclient'
import type { SessionStatus, SuggestionId } from '@grammarly/sdk'

export interface Protocol {
pause(): Promise<void>
getDocumentStatus(uri: string): Promise<SessionStatus | null>
isUserAccountConnected(): Promise<boolean>
getOAuthUrl(oauthRedirectUri: string): Promise<string>
Expand Down

0 comments on commit 7c4a374

Please sign in to comment.