fix inline theme script with CSP #1682
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Checks and builds the project. For more info: | |
# https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20.17'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npx gro check --workspace | |
- run: npx gro build |