Skip to content

Commit 3bb84dd

Browse files
authored
💚 Fix GitHub action deployment (#3)
1 parent 04ad4a7 commit 3bb84dd

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,19 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v1
14-
- run: npm install
15-
- run: npm run deploy
12+
- name: Checkout Repo
13+
uses: actions/checkout@v2
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 16
19+
cache: npm
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Publish to VS Code Marketplace
25+
run: npm run deploy
1626
env:
1727
VSCE_PAT: ${{ secrets.VSCE_PAT }}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44

55
-
66

7+
## [1.0.1] - 2021-08-24
8+
9+
### Fixed
10+
11+
- Use node 16 for the GitHub action workflow [[#3](https://github.com/mheob/vscode-snippets/pull/3)]
12+
713
## [1.0.0] - 2021-08-24
814

915
### Added
1016

11-
- First running state with some snippets
12-
13-
<!-- [0.0.2]: https://github.com/mheob/vscode-snippets/compare/v0.0.1...v0.0.2 -->
17+
- First running state with some snippets [[#1](https://github.com/mheob/vscode-snippets/pull/1)]
18+
[[#2](https://github.com/mheob/vscode-snippets/pull/2)]
1419

15-
[unreleased]: https://github.com/mheob/vscode-snippets/compare/v1.0.0...HEAD
20+
[unreleased]: https://github.com/mheob/vscode-snippets/compare/v1.0.1...HEAD
21+
[1.0.1]: https://github.com/mheob/vscode-snippets/compare/v1.0.0...v1.0.1
1622
[1.0.0]: https://github.com/mheob/vscode-snippets/releases/tag/v1.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vscode-snippets",
33
"displayName": "Snippets for Next.js, React in TypeScript",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "Snippets for the development with Next.js, React in a TypeScript environment.",
66
"categories": [
77
"Snippets"

0 commit comments

Comments
 (0)