mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 10:09:55 +00:00
39f247173d
* Migrate from yarn to pnpm. * Fixing woodpecker. * 0.19.3-alpha.3 * Fixing publish. * 0.19.3-alpha.4 * Upgrading deps. * 0.19.3-alpha.5 * Fix package.json. * 0.19.3-alpha.6
26 lines
498 B
YAML
26 lines
498 B
YAML
variables:
|
|
- &install_pnpm "corepack enable pnpm"
|
|
|
|
steps:
|
|
install:
|
|
image: node:alpine
|
|
commands:
|
|
- *install_pnpm
|
|
- pnpm i
|
|
|
|
lint:
|
|
image: node:alpine
|
|
commands:
|
|
- *install_pnpm
|
|
- pnpm lint
|
|
|
|
npm_publish:
|
|
image: node:alpine
|
|
commands:
|
|
- *install_pnpm
|
|
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
|
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
|
- npm publish
|
|
secrets: [npm_token]
|
|
when:
|
|
event: tag
|