2022-10-05 20:03:07 -05:00
|
|
|
image: atlassian/default-image:3
|
2022-10-05 19:54:07 -05:00
|
|
|
|
|
|
|
pipelines:
|
2022-11-02 22:29:05 -05:00
|
|
|
pull-requests:
|
|
|
|
"**":
|
2022-11-03 12:39:28 -05:00
|
|
|
- step:
|
|
|
|
name: Install Node Dependencies
|
|
|
|
caches:
|
|
|
|
- node-modules
|
|
|
|
- npm
|
|
|
|
- nvm
|
|
|
|
script:
|
|
|
|
- nvm install v17.2.0
|
|
|
|
- npm i -g npm@8
|
|
|
|
- npm ci
|
2023-04-25 12:47:26 -05:00
|
|
|
- step:
|
|
|
|
name: Lua Check
|
|
|
|
script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get -y install lua5.1
|
|
|
|
- apt-get -y install luarocks
|
|
|
|
- luarocks install luacheck
|
|
|
|
- luacheck .
|
2022-11-02 22:29:05 -05:00
|
|
|
tags:
|
|
|
|
"*":
|
2022-11-03 12:39:28 -05:00
|
|
|
- step:
|
|
|
|
name: Install Node Dependencies
|
|
|
|
caches:
|
|
|
|
- node-modules
|
|
|
|
- npm
|
|
|
|
- nvm
|
|
|
|
script:
|
|
|
|
- nvm install v17.2.0
|
|
|
|
- npm i -g npm@8
|
|
|
|
- npm ci
|
2023-04-25 12:47:26 -05:00
|
|
|
- step:
|
|
|
|
name: Lua Check
|
|
|
|
script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get -y install lua5.1
|
|
|
|
- apt-get -y install luarocks
|
|
|
|
- luarocks install luacheck
|
|
|
|
- luacheck .
|
2022-11-02 22:37:31 -05:00
|
|
|
- step:
|
|
|
|
name: Deploy to ContentDB
|
2022-11-02 23:08:09 -05:00
|
|
|
caches:
|
|
|
|
- node-modules
|
|
|
|
- npm
|
|
|
|
- nvm
|
2022-11-02 22:37:31 -05:00
|
|
|
script:
|
2022-11-02 23:08:09 -05:00
|
|
|
- nvm use v17.2.0
|
2022-11-02 23:04:43 -05:00
|
|
|
- npm run push:ci -- --token=$CONTENT_DB_X_BOWS_TOKEN --title=$BITBUCKET_TAG
|
|
|
|
definitions:
|
|
|
|
caches:
|
|
|
|
node-modules: ./node_modules
|
|
|
|
npm: ~/.npm
|
|
|
|
nvm: ~/.nvm
|