mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
meta: simplify yaml
'working-directory' can just be specified on-site.
This commit is contained in:
parent
cc345171f3
commit
ba426ef78d
12
.github/workflows/publish-npm-packages.yml
vendored
12
.github/workflows/publish-npm-packages.yml
vendored
@ -7,9 +7,6 @@ jobs:
|
||||
publish-api:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Publish '@urbit/api' if a new version is available"
|
||||
defaults:
|
||||
run:
|
||||
working-directory: 'pkg/npm/api'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@ -18,6 +15,7 @@ jobs:
|
||||
with:
|
||||
node-version: '14'
|
||||
- run: 'npm install'
|
||||
working-directory: 'pkg/npm/api'
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
check-version: true
|
||||
@ -28,9 +26,6 @@ jobs:
|
||||
publish-http-api:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Publish '@urbit/http-api' if a new version is available"
|
||||
defaults:
|
||||
run:
|
||||
working-directory: 'pkg/npm/http-api'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@ -39,6 +34,7 @@ jobs:
|
||||
with:
|
||||
node-version: '14'
|
||||
- run: 'npm install'
|
||||
working-directory: 'pkg/npm/http-api'
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
check-version: true
|
||||
@ -49,9 +45,6 @@ jobs:
|
||||
publish-eslint-config:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Publish '@urbit/eslint-config' if a new version is available"
|
||||
defaults:
|
||||
run:
|
||||
working-directory: 'pkg/npm/eslint-config'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@ -60,6 +53,7 @@ jobs:
|
||||
with:
|
||||
node-version: '14'
|
||||
- run: 'npm install'
|
||||
working-directory: 'pkg/npm/eslint-config'
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
check-version: true
|
||||
|
Loading…
Reference in New Issue
Block a user