Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Aug 16, 2024
1 parent 7a6faad commit 1c572aa
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
name: CI
on: [push, pull_request]
on: [ push, pull_request ]
jobs:
build:
name: Build, Upload, Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 20

- name: Cache Node modules
id: node-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}

- name: Install Node modules
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci
# Currently necessary for Webpack
env:
NODE_OPTIONS: --openssl-legacy-provider

- name: Build note-editor
run: npm run build
# Currently necessary for Webpack
env:
NODE_OPTIONS: --openssl-legacy-provider

- name: Upload pre-build ZIP
if: |
Expand Down

0 comments on commit 1c572aa

Please sign in to comment.