Skip to content

Commit

Permalink
fix CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
bmario committed Sep 30, 2024
1 parent 833edf8 commit 257b507
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -28,32 +28,3 @@ jobs:
# checksums for git repo dependencies are broken
- run: yarn install
- run: yarn lint --no-fix --max-warnings 0 --max-errors 0

build:
name: Build for deployment
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set short git hash for PR
if: github.event_name == 'pull_request'
id: vars-pr
run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.event.pull_request.head.sha }})"
- name: Set short git hash for push
if: github.event_name == 'push'
id: vars-push
run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})"
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- run: yarn install
- run: yarn build
env:
VUE_APP_VERSION_BUILD: ${{ steps.vars-pr.outputs.sha_short || steps.vars-push.outputs.sha_short }}
VUE_APP_METRICQ_BACKEND: ${{ secrets.DEPLOYED_METRICQ_BACKEND }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: webview
path: dist

0 comments on commit 257b507

Please sign in to comment.