diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8ca88e6..c0cf5e0 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,11 +3,7 @@ name: Node.js CI -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: ["push", "pull_request"] jobs: build: @@ -16,12 +12,12 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 - - run: sudo apt install gfortran - - run: cd reference && make && cd .. +# - run: sudo apt install gfortran +# - run: cd reference && make && cd .. - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c5bd18e..b2cb83b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 16 - run: sudo apt install gfortran - run: cd reference && make && cd .. - run: npm ci @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 43c415e..a8bf998 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -1,6 +1,9 @@ name: website -on: push + +on: + push: + branches: [ master ] jobs: publish: @@ -11,7 +14,7 @@ jobs: uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run website-build diff --git a/.gitignore b/.gitignore index 5cc5bec..ee20b49 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /dist /public /.cache +/.parcel-cache diff --git a/demo/index.html b/demo/index.html index 28366ee..8687f19 100644 --- a/demo/index.html +++ b/demo/index.html @@ -79,6 +79,6 @@