Skip to content

Commit

Permalink
Merge branch 'second_release' into 'master'
Browse files Browse the repository at this point in the history
fix: add build to release stage

See merge request packages3525740/cypress-fs!6
  • Loading branch information
Hamza-Bouhelal committed Oct 7, 2023
2 parents babb5fa + 952c26e commit b46801f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ dependencies:
stage: build
script:
- yarn install --frozen-lockfile
- yarn build
artifacts:
paths:
- node_modules/
- dist/
expire_in: 1 week

lint:
Expand All @@ -32,3 +30,7 @@ publish:
- master
except:
- /^no-release.*$/
artifacts:
paths:
- dist/
expire_in: 1 week
2 changes: 2 additions & 0 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if (!commitMessage) {
process.exit(1);
}

execSync('yarn build', { encoding: 'utf-8' });

const versionUpdate = versionUpdateType(commitMessage);
const NEW_VERSION = execSync(`npm version ${versionUpdate} --force`, { encoding: 'utf-8' });

Expand Down

0 comments on commit b46801f

Please sign in to comment.