1
0
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:
olav 2022-04-07 11:33:07 +02:00 committed by GitHub
parent fb8d0e7efc
commit 42a81e6647
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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