feat: usage of ESM modules imports (instead of CommonJS) (#5)
Replace `jest` with `tap`.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/analyze.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/analyze.yml
									
									
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ jobs: | ||||
|         language: ['javascript'] | ||||
|  | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v2.3.4' | ||||
|       - uses: 'actions/checkout@v3.0.0' | ||||
|  | ||||
|       - name: 'Initialize CodeQL' | ||||
|         uses: 'github/codeql-action/init@v1' | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,10 +10,10 @@ jobs: | ||||
|   build: | ||||
|     runs-on: 'ubuntu-latest' | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v2' | ||||
|       - uses: 'actions/checkout@v3.0.0' | ||||
|  | ||||
|       - name: 'Use Node.js' | ||||
|         uses: 'actions/setup-node@v2.4.1' | ||||
|         uses: 'actions/setup-node@v3.0.0' | ||||
|         with: | ||||
|           node-version: '16.x' | ||||
|           cache: 'npm' | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,10 +10,10 @@ jobs: | ||||
|   lint: | ||||
|     runs-on: 'ubuntu-latest' | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v2' | ||||
|       - uses: 'actions/checkout@v3.0.0' | ||||
|  | ||||
|       - name: 'Use Node.js' | ||||
|         uses: 'actions/setup-node@v2.4.1' | ||||
|         uses: 'actions/setup-node@v3.0.0' | ||||
|         with: | ||||
|           node-version: '16.x' | ||||
|           cache: 'npm' | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -8,7 +8,7 @@ jobs: | ||||
|   release: | ||||
|     runs-on: 'ubuntu-latest' | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v2.3.4' | ||||
|       - uses: 'actions/checkout@v3.0.0' | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           persist-credentials: false | ||||
| @@ -21,7 +21,7 @@ jobs: | ||||
|           git-commit-gpgsign: true | ||||
|  | ||||
|       - name: 'Use Node.js' | ||||
|         uses: 'actions/setup-node@v2.4.1' | ||||
|         uses: 'actions/setup-node@v3.0.0' | ||||
|         with: | ||||
|           node-version: '16.x' | ||||
|           cache: 'npm' | ||||
|   | ||||
							
								
								
									
										11
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -8,12 +8,12 @@ on: | ||||
|  | ||||
| jobs: | ||||
|   test: | ||||
|     runs-on: 'ubuntu-latest' | ||||
|     runs-on: 'macos-latest' | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v2' | ||||
|       - uses: 'actions/checkout@v3.0.0' | ||||
|  | ||||
|       - name: 'Use Node.js' | ||||
|         uses: 'actions/setup-node@v2.4.1' | ||||
|         uses: 'actions/setup-node@v3.0.0' | ||||
|         with: | ||||
|           node-version: '16.x' | ||||
|           cache: 'npm' | ||||
| @@ -21,5 +21,10 @@ jobs: | ||||
|       - name: 'Install' | ||||
|         run: 'npm install' | ||||
|  | ||||
|       - name: 'Build' | ||||
|         run: 'npm run build' | ||||
|  | ||||
|       - run: 'cp .env.example .env' | ||||
|  | ||||
|       - name: 'Test' | ||||
|         run: 'npm run test' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user