mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-17 13:46:47 +02:00
refactor: use --frozen-lockfile in actions (#853)
This commit is contained in:
parent
fb8d0e7efc
commit
42a81e6647
2
frontend/.github/workflows/node.js.yml
vendored
2
frontend/.github/workflows/node.js.yml
vendored
@ -23,6 +23,6 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: yarn
|
- run: yarn install --frozen-lockfile
|
||||||
- run: yarn run test
|
- run: yarn run test
|
||||||
- run: yarn run fmt:check
|
- run: yarn run fmt:check
|
||||||
|
3
frontend/.github/workflows/release.yml
vendored
3
frontend/.github/workflows/release.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: |
|
- run: |
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
- run: |
|
- run: |
|
||||||
TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?')
|
TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?')
|
||||||
npm publish --tag ${TAG:-latest}
|
npm publish --tag ${TAG:-latest}
|
||||||
@ -38,4 +38,3 @@ jobs:
|
|||||||
- name: Publish static assets to S3
|
- name: Publish static assets to S3
|
||||||
run: |
|
run: |
|
||||||
aws s3 cp build/ s3://getunleash-static/unleash/${{ steps.get_version.outputs.VERSION }} --recursive
|
aws s3 cp build/ s3://getunleash-static/unleash/${{ steps.get_version.outputs.VERSION }} --recursive
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user