21 Commits

Author SHA1 Message Date
Robin Malfait
4142b3fbaf
setup npm registry url
The `NPM_TOKEN` name was also incorrect (surprise?). Found another
resource here that mentions the `registry-url` option and
`NODE_AUTH_TOKEN`. Let's see if that works...

https://docs.github.com/en/actions/guides/publishing-nodejs-packages
2021-09-07 15:58:32 +02:00
Robin Malfait
fac02f3de9
use the correct token name
I used `NODE_AUTH_TOKEN` in other projects but that doesn't seem to work
anymore for some reason 🤔

Found this resource that talks about `NPM_TOKEN`: https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow
2021-09-07 15:52:17 +02:00
Robin Malfait
016eaa5091
Add --no-git-tag-version flag (#5426)
When you run `npm version`, it also tries to make a git commit and a git
tag. However, we are not doing anything with this and CI doesn't know
who the committer is.
2021-09-07 14:45:03 +02:00
Robin Malfait
2b9c4fec1f
Force creating an npm version for insiders build (#5423)
This fails because we usually use node 14 or 16, which has a
package-lock.json version of `2`. However on node 12, this version is
`1`. This means that after an npm install the package-lock.json is
touched and thus `npm version` fails because git is in a dirty
directory.

Adding a `--force` is not ideal, but also not really an issue since the
only thing that could change is the package-lock.json and this is not
published to npm anyways.
2021-09-07 14:30:55 +02:00
Robin Malfait
d01091d44d
Improve release workflows part 2 (#5422)
* ensure we build before the tests

Our tests require that for now. Will probably improve this in the
future.

* improve insiders version name

This will make it consistent with previously published versions.
2021-09-07 14:18:22 +02:00
Robin Malfait
7c9bc49259
Add automated release/npm publish workflows (#5421) 2021-09-07 14:13:21 +02:00
Adam Wathan
7bc3166740
Update nodejs.yml 2021-05-18 09:57:55 -04:00
Michaël De Boey
86e9c34a1a
chore: add tests for Node 16 (#4146) 2021-05-07 13:50:22 -04:00
Robin Malfait
1bda5f5dab use package-lock.json in CI 2021-04-02 15:13:21 -04:00
Adam Wathan
27fd1f9883 Only run coverage in CI 2020-11-19 12:41:06 -05:00
Tom Hu
a669180a67
Codecov (#1937)
* Add coverage and send to Codecov

* Collect coverage with jest

* Add a badge

* Update package.json

* Update .github/workflows/nodejs.yml

* Add retry logic

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-10-25 14:46:32 -04:00
Adam Wathan
62a3947414 Update autoprefixer 2020-10-16 19:11:02 -04:00
Adam Wathan
8ef87468d1 Bust module cache 2020-10-16 19:06:24 -04:00
Adam Wathan
8ed0f1ce07 Update GitHub actions script 2020-10-16 13:43:45 -04:00
Adam Wathan
f9a7761c5b
Drop support for Node.js 8 and 10, require 12.13 (#2582) 2020-10-16 13:12:32 -04:00
HonkingGoose
5aff35e6e5
Bump GitHub Actions runners (#2520) 2020-10-09 13:34:34 -04:00
Robin Malfait
f2e622a10a
cache node modules in CI 2020-08-20 18:43:23 +02:00
Johan Bergström
437b038d41 Add Node.js 14.x to test matrix 2020-08-07 15:45:59 -04:00
Adam Wathan
072c60c008 Drop fs-extra version to retain Node 8 compatibility 2020-04-23 07:58:26 -04:00
Adam Wathan
da83070c24
Update nodejs.yml 2020-04-16 08:45:53 -04:00
Adam Wathan
ad9fcaf919
Create nodejs.yml 2020-04-16 08:43:29 -04:00