Skip to content

Commit 1718b7d

Browse files
committed
fix: update snapshot tests
1 parent 0e692aa commit 1718b7d

File tree

6 files changed

+21286
-6688
lines changed

6 files changed

+21286
-6688
lines changed

.github/workflows/test.yml

+6-18
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,16 @@ jobs:
1414
- name: Check out Git repository
1515
uses: actions/checkout@v2
1616

17-
- name: Install Node.js, NPM and Yarn
17+
- name: Install Node.js, NPM
1818
uses: actions/setup-node@v1
1919
with:
20-
node-version: 14
20+
node-version: 16
2121

22-
- name: Get yarn cache directory path
23-
id: yarn-cache-dir-path
24-
run: echo "::set-output name=dir::$(yarn cache dir)"
22+
- name: npm install
23+
run: npm ci
2524

26-
- uses: actions/cache@v2
27-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
28-
with:
29-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
30-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
31-
restore-keys: |
32-
${{ runner.os }}-yarn-
33-
34-
- name: yarn install
35-
run: yarn --frozen-lockfile
36-
37-
- name: yarn test
25+
- name: npm test
3826
env:
3927
CLIENT_ID: ${{ secrets.CLIENT_ID }}
4028
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
41-
run: yarn test
29+
run: npm test

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ build/Release
3939
# Dependency directory
4040
node_modules
4141

42-
# npm lockfile
43-
package-lock.json
44-
4542
# Compiled source
4643
dist
4744
.eslintcache

0 commit comments

Comments
 (0)