diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 4a5246f4..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Publish on NPM on release - -on: - release: - types: [published] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Install dependencies - run: npm install - - - name: Build - run: npm run build - - - name: Test - run: npm test - - - name: Publish to NPM - run: npm publish --access=public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/tsconfig.json b/tsconfig.json index 30f9e84f..59be4f62 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "lib": ["esnext"], + "lib": ["ES2020"], "module": "commonjs", - "target": "ES2015", + "target": "ES2020", "strict": true, "esModuleInterop": true, "sourceMap": true,