-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #959 from keesschollaart81/dev
- Loading branch information
Showing
8 changed files
with
1,374 additions
and
735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,39 +16,41 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- name: ⤵️ Check out code from GitHub | ||
uses: actions/[email protected] | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@master | ||
- name: 🏗 Set up NodeJS | ||
uses: actions/setup-node@v2.1.4 | ||
with: | ||
node-version: 12.x | ||
node-version: "14" | ||
|
||
- name: NPM Install | ||
- name: 🏗 Install NodeJS packages | ||
working-directory: src/language-service | ||
run: | | ||
rm package-lock.json | ||
npm install | ||
run: npm install | ||
|
||
- name: NPM Lint | ||
- name: 🚀 Run Linter | ||
working-directory: src/language-service | ||
run: npm run lint | ||
|
||
- name: NPM Compile | ||
- name: 🚀 Run Compile | ||
working-directory: src/language-service | ||
run: npm run compile | ||
|
||
- name: Create .npmrc | ||
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc | ||
- name: 🏗 Create .npmrc | ||
if: success() && github.ref == 'refs/heads/master' | ||
run: | ||
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: NPM Publish to Registry | ||
- name: 🚀 Publish to NPM Registry | ||
if: success() && github.ref == 'refs/heads/master' | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
npm publish src/language-service | ||
# - name: NPM Publish to Registry | ||
# uses: actions/npm@master | ||
# if: success() && github.ref == 'refs/heads/master' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,23 +8,24 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: ⤵️ Check out code from GitHub | ||
uses: actions/[email protected] | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
- name: 🏗 Set up NodeJS | ||
uses: actions/setup-node@v2.1.4 | ||
with: | ||
node-version: 12.x | ||
node-version: "14" | ||
|
||
- name: NPM Install & Compile | ||
- name: 🏗 Install NodeJS packages | ||
run: npm install | ||
|
||
- name: NPM Lint | ||
- name: 🚀 Run Linter | ||
run: npm run lint | ||
|
||
- name: NPM Compile | ||
- name: 🚀 Run Compile | ||
run: npm run compile | ||
|
||
- name: VS Marketplace Publish | ||
- name: 🚀 VSCode Marketplace Publish | ||
if: success() && github.ref == 'refs/heads/master' | ||
run: | | ||
npm install -g vsce | ||
|
Oops, something went wrong.