From 70020ae4cd9ff076d2c13e17a037910bd89d1f1e Mon Sep 17 00:00:00 2001 From: Junior flores Date: Wed, 13 Sep 2023 10:40:44 -0500 Subject: [PATCH 1/2] update action --- .github/workflows/frontend-overpass.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/frontend-overpass.yaml b/.github/workflows/frontend-overpass.yaml index f9434ba7..266ae269 100644 --- a/.github/workflows/frontend-overpass.yaml +++ b/.github/workflows/frontend-overpass.yaml @@ -36,27 +36,25 @@ jobs: ref: 43d1d9aa7e8bbb7152c89354900fdd327f9f7ffe # token: ${{env.DEV_GITHUB_TOKEN}} - - name: Use Node.js 12 + - name: Use Node.js 16 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 16 - name: Install modules run: | rm -rf node_modules - rm package-lock.json npm cache clean --force - npm cache verify - npm install + yarn install --no-progress --frozen-lockfile - name: Build frontend run: | sed -i -e 's/overpass-api.openhistoricalmap.org/'${OVERPASS_API}'/g' js/configs.js - npm run build + yarn build - uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: '3.10' - name: Install aws cli run: | From 7a88afc791ad48140483662712b1ac94b6653c5f Mon Sep 17 00:00:00 2001 From: Junior flores Date: Wed, 13 Sep 2023 10:41:26 -0500 Subject: [PATCH 2/2] update Checkout overpass-turbo repo --- .github/workflows/frontend-overpass.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontend-overpass.yaml b/.github/workflows/frontend-overpass.yaml index 266ae269..40c1b804 100644 --- a/.github/workflows/frontend-overpass.yaml +++ b/.github/workflows/frontend-overpass.yaml @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v2 with: repository: OpenHistoricalMap/overpass-turbo - ref: 43d1d9aa7e8bbb7152c89354900fdd327f9f7ffe + ref: a8e83de61050f257ca05c299f3f75da7f8391398 # token: ${{env.DEV_GITHUB_TOKEN}} - name: Use Node.js 16