Gitlab CI & cambio de dist a public

This commit is contained in:
2023-01-11 13:29:58 +01:00
parent d0814f1176
commit ce48e0c94b
3 changed files with 3327 additions and 1 deletions

20
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,20 @@
image: node:latest
pages:
before_script:
# Install yarn as outlined in (https://yarnpkg.com/lang/en/docs/install/#alternatives-stable)
- curl -o- -L https://yarnpkg.com/install.sh | bash
# Make available in the current terminal
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
script:
- yarn install
- yarn build
artifacts:
paths:
- public
only:
- master
cache:
paths:
- .yarn
- node_modules/

View File

@@ -11,7 +11,7 @@ module.exports = (env, argv) => {
// Your build destination
output: {
path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, 'public'),
filename: 'bundle.js'
},

3306
yarn.lock Normal file

File diff suppressed because it is too large Load Diff