Skip to content

Commit

Permalink
fix context persistence for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSzx committed Feb 14, 2021
1 parent 43525fc commit 3d43683
Show file tree
Hide file tree
Showing 5 changed files with 17,457 additions and 16,638 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["13", "10"]
node: ["10", 12", "14", "15"]
name: Node ${{ matrix.node }} test
steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile
- run: yarn build
- run: yarn test --coverage
- run: npm i -g pnpm
- run: pnpm i
- run: pnpm test --coverage
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-state-selector",
"version": "2.0.1",
"version": "2.0.2",
"keywords": [
"react",
"immer",
Expand Down Expand Up @@ -28,7 +28,7 @@
"build": "tsdx build -i ./src/index.ts",
"build-storybook": "rm -rf ./dist && build-storybook -o docs -s stories/utils/public",
"lint": "tsdx lint src stories test --fix",
"prepublishOnly": "tsdx lint src test --fix && tsdx test && tsdx build",
"prepare": "tsdx lint src test --fix && tsdx test && tsdx build",
"start": "tsdx watch",
"storybook": "start-storybook -p 6006 -s stories/utils/public",
"test": "tsdx test"
Expand Down
Loading

0 comments on commit 3d43683

Please sign in to comment.