Skip to content

Commit

Permalink
ci: simplify publishing (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Nov 21, 2021
1 parent 91ab83f commit caff978
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Prepare repository
run: git fetch --unshallow --tags

- uses: actions/setup-node@v2.4.1
with:
registry-url: "https://registry.npmjs.org"
node-version: "16"

- name: Prepare repository
run: git fetch --unshallow --tags

- name: Install Node dependencies
run: yarn --frozen-lockfile

- name: Build
run: yarn build

# don't use yarn run to avoid using yarnpkg registry
- name: Create release
run: npm run release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@
"eslintbase": "beemo eslint .",
"format": "yarn eslintbase --fix && yarn prettierbase --write",
"lint": "yarn eslintbase && yarn prettierbase --check",
"release": "auto shipit"
"release": "yarn build && auto shipit"
}
}

0 comments on commit caff978

Please sign in to comment.