Skip to content

Commit

Permalink
Update the GitHub Actions CI config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydenseric committed Dec 23, 2020
1 parent 3e21c6a commit 78d9471
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ jobs:
os: [ubuntu-latest, macos-latest]
node: ['10', '12', '14', '15']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Setup Node.js v${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: npm install and test
run: npm install-test
env:
CI: true
10 changes: 7 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@
- Stop using [`husky`](https://npm.im/husky) and [`lint-staged`](https://npm.im/lint-staged).
- Stop using [`size-limit`](https://npm.im/size-limit) temporarily due to [ai/size-limit#205](https://github.com/ai/size-limit/issues/205).
- Use [`coverage-node`](https://npm.im/coverage-node) to enforce 100% code coverage for tests.
- Ensure GitHub Actions CI runs on pull request.
- Also run GitHub Actions CI with Node.js v14 and v15.
- Simplified the GitHub Actions CI config with the [`npm install-test`](https://docs.npmjs.com/cli/v7/commands/npm-install-test) command.
- Updated GitHub Actions CI config:
- Ensure it also runs on pull request.
- Updated `actions/checkout` to v2.
- Updated `actions/setup-node` to v2.
- Also test Node.js v14 and v15.
- Simplified config with the [`npm install-test`](https://docs.npmjs.com/cli/v7/commands/npm-install-test) command.
- Don’t specify the `CI` environment variable as it’s set by default.
- Use strict mode for scripts.
- Custom Babel plugins now run before and after the `styled-jsx/babel` plugin, to workaround [vercel/styled-jsx#680](https://github.com/vercel/styled-jsx/issues/680) and [vercel/styled-jsx#689](https://github.com/vercel/styled-jsx/issues/689).
- Improved the package `prepare:prettier` and `test:prettier` scripts.
Expand Down

0 comments on commit 78d9471

Please sign in to comment.