Skip to content

Commit ab2e88c

Browse files
authored
Try publish to NPM to check everything is OK (#69)
* Try publish to NPM to check everything is OK
1 parent 60f5583 commit ab2e88c

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ max_line_length = 120
1616

1717
[{CODEOWNERS,Makefile}]
1818
indent_style = tab
19+
20+
[*.{yml,yaml}]
21+
indent_style = space
22+
indent_size = 2

.github/workflows/try-publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Try publish to NPM
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
publish:
11+
12+
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use the latest versiob of Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: latest
23+
- name: Init
24+
run: make init
25+
- name: Dry run
26+
run: npm publish --dry-run

0 commit comments

Comments
 (0)