Commit 51ee81e9 authored by Andrew Hrdy's avatar Andrew Hrdy

Using yarn included in the docker image instead of npm installing it.

parent ad9851c1
Pipeline #2509 passed with stage
in 1 minute and 46 seconds
......@@ -9,8 +9,7 @@ build:
variables:
API_GET_FACILITIES: "'https://api.srct.gmu.edu/whatsopen/v2/facilities/'"
script:
- npm install -g yarn
- yarn install
- yarn
- CI=false API_GET_FACILITIES=$API_GET_FACILITIES npm run build
artifacts:
paths:
......@@ -21,8 +20,7 @@ build_shopmason:
variables:
API_GET_FACILITIES: "'https://api.srct.gmu.edu/whatsopen/v2/facilities/?facility_classifier=shopmason'"
script:
- npm install -g yarn
- yarn install
- yarn
- CI=false API_GET_FACILITIES=$API_GET_FACILITIES npm run build
artifacts:
paths:
......
......@@ -29,7 +29,7 @@ const Alert = ({alert}) => {
return (
<span className={'alert-message'}>
{alert.message.substring(0, links.index)}
<a href={links[0]} className={'alert-link'} target="_blank" rel="noopener">{links[0]}</a>
<a href={links[0]} className={'alert-link'} target="_blank" rel="noopener noreferrer">{links[0]}</a>
{alert.message.substring(links.index + links[0].length)}
</span>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment