diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 259ef1e4..509b1ee2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,31 +13,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 16 + - name: Install Dependencies - run: | - npm install - env: - CI: true + run: npm install + - name: Lint Files - run: | - npm run lint:check - env: - CI: true + run: npm run lint:check + - name: Check File Formatting - run: | - npm run format:check - env: - CI: true + run: npm run format:check + - name: Run Tests - run: | - npm run test:ci - env: - CI: true + run: npm run test:ci release: name: Release @@ -45,17 +37,17 @@ jobs: needs: [test] steps: - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20 + - name: Install Dependencies - run: | - npm install + run: npm install + - name: Run Semantic Release - run: | - npx semantic-release + run: npx semantic-release env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 574bcdd5..030cf0c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,30 +13,24 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - node-version: [14.x, 16.x] + node-version: [16.x] + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + - name: Install Dependencies - run: | - npm install - env: - CI: true + run: npm install + - name: Lint Files - run: | - npm run lint:check - env: - CI: true + run: npm run lint:check + - name: Check File Formatting - run: | - npm run format:check - env: - CI: true + run: npm run format:check + - name: Run Tests - run: | - npm run test:ci - env: - CI: true + run: npm run test:ci diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..19c7bdba --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16 \ No newline at end of file