Skip to content

fix: not working for aws #59

fix: not working for aws

fix: not working for aws #59

Workflow file for this run

name: JavaScript
on:
push:
pull_request:
jobs:
build:
name: JS / Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: ./js/package-lock.json
- name: Install dependencies
working-directory: ./js
run: |
npm ci
- name: Check formatting
working-directory: ./js
run: |
npm run format-check
- name: Build production JS
uses: flarum/action-build@2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build
package_manager: npm
do_not_commit: ${{ github.ref != 'refs/heads/master' || github.event_name != 'push' }}