Update dependency css-loader to v6 #3192
Workflow file for this run
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
env: | |
TAG: "${{github.sha}}" | |
COMPOSE_DOCKER_CLI_BUILD: 1 | |
DOCKER_BUILDKIT: 1 | |
NODE_OPTIONS: "--max-old-space-size=4096" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set node version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14.x" | |
# install npm deps | |
- name: install all packages | |
run: npm install | |
- name: javascript implementation | |
working-directory: ./javascript | |
run: | | |
npm install | |
npm run lint | |
npm run build | |
- name: javascript tests | |
uses: GabrielBB/[email protected] | |
with: | |
working-directory: ./javascript | |
run: npm run test | |
- name: build examples | |
working-directory: ./examples/browser | |
run: | | |
npm install | |
npm run lint | |
npm run build | |
- name: test examples | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
working-directory: ./examples/browser | |
run: npm run test |