mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
cfe81d6d3f
* Add tailwind and esbuild
* Remove unused images
* Move unprocessed assets to priv directory
* Fix applyTheme script
* Remove autoprefixer
* Update bundlemon
* Remove babel config
* Revert "Remove autoprefixer"
This reverts commit fc60c31c73
.
* Make dashboard react file work
* Fix app.css imports
* Remove autoprefixer
* Add back in robots.txt
* Go back to css/ and js/ folders as opposed to assets/
* Bundle embed.host.js and embed.content.js
* Add components folder to live reload paths
* Remove bundlemon
* Use mix assets task in Dockerfil
* Add assets setup to CONTRIBUTING.md
32 lines
765 B
YAML
32 lines
765 B
YAML
name: NPM CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master, stable]
|
|
pull_request:
|
|
branches: [master, stable]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build and test
|
|
runs-on: buildjet-4vcpu-ubuntu-2004
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Read .tool-versions
|
|
uses: marocchino/tool-versions-action@v1
|
|
id: versions
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{steps.versions.outputs.nodejs}}
|
|
- run: npm install --prefix ./assets
|
|
- run: npm install --prefix ./tracker
|
|
- run: npm run lint --prefix ./assets
|
|
- run: npm run check-format --prefix ./assets
|
|
- run: npm run deploy --prefix ./tracker
|