mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01: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
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: yarn
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn run test
|
||||
- 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 }}
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: |
|
||||
yarn install --frozen-lockfile
|
||||
yarn install --frozen-lockfile
|
||||
- run: |
|
||||
TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?')
|
||||
npm publish --tag ${TAG:-latest}
|
||||
@ -38,4 +38,3 @@ jobs:
|
||||
- name: Publish static assets to S3
|
||||
run: |
|
||||
aws s3 cp build/ s3://getunleash-static/unleash/${{ steps.get_version.outputs.VERSION }} --recursive
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user