mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
CI: use prettier to reformat workflows
This commit is contained in:
34
.github/workflows/publish-rolling.yml
vendored
34
.github/workflows/publish-rolling.yml
vendored
@@ -14,23 +14,23 @@ jobs:
|
||||
node: [14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node.js ${{ matrix.node }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: Use Node.js ${{ matrix.node }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: npm ci
|
||||
- run: npm ci
|
||||
|
||||
- name: Tag rolling release
|
||||
run: |
|
||||
npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD`
|
||||
- name: Use @${{ github.actor }} scope
|
||||
run: |
|
||||
jq '.name = "@${{ github.actor }}/flood"' package.json > package.new.json
|
||||
mv package.new.json package.json
|
||||
- run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Tag rolling release
|
||||
run: |
|
||||
npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD`
|
||||
- name: Use @${{ github.actor }} scope
|
||||
run: |
|
||||
jq '.name = "@${{ github.actor }}/flood"' package.json > package.new.json
|
||||
mv package.new.json package.json
|
||||
- run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user