mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 08:16:28 +00:00
github actions
This commit is contained in:
parent
ac68f4a540
commit
92893a5b2d
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -12,15 +12,21 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: 'pnpm'
|
||||
node-version-file: '.nvmrc'
|
||||
- uses: pnpm/action-setup@v2
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: |
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
@ -13,10 +13,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# Node
|
||||
- uses: pnpm/action-setup@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: 'pnpm'
|
||||
node-version-file: '.nvmrc'
|
||||
- uses: pnpm/action-setup@v2
|
||||
|
||||
# Docker
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
|
Loading…
Reference in New Issue
Block a user